comparison vendor/zendframework/zend-stdlib/src/SplPriorityQueue.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
34 * @param mixed $priority 34 * @param mixed $priority
35 * @return void 35 * @return void
36 */ 36 */
37 public function insert($datum, $priority) 37 public function insert($datum, $priority)
38 { 38 {
39 if (!is_array($priority)) { 39 if (! is_array($priority)) {
40 $priority = [$priority, $this->serial--]; 40 $priority = [$priority, $this->serial--];
41 } 41 }
42 parent::insert($datum, $priority); 42 parent::insert($datum, $priority);
43 } 43 }
44 44