@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | return false; |
| 262 | 262 | } |
| 263 | 263 | |
| 264 | - foreach ((array)array_keys($this->filters[$tag]) as $priority) { |
|
| 264 | + foreach ((array) array_keys($this->filters[$tag]) as $priority) { |
|
| 265 | 265 | if (isset($this->filters[$tag][$priority][$idx])) { |
| 266 | 266 | return $priority; |
| 267 | 267 | } |
@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | array_shift($args); |
| 323 | 323 | |
| 324 | 324 | do { |
| 325 | - foreach ((array)current($this->filters[$tag]) as $the_) { |
|
| 325 | + foreach ((array) current($this->filters[$tag]) as $the_) { |
|
| 326 | 326 | if (null !== $the_['function']) { |
| 327 | 327 | |
| 328 | 328 | if (null !== $the_['include_path']) { |
@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | reset($this->filters[$tag]); |
| 385 | 385 | |
| 386 | 386 | do { |
| 387 | - foreach ((array)current($this->filters[$tag]) as $the_) { |
|
| 387 | + foreach ((array) current($this->filters[$tag]) as $the_) { |
|
| 388 | 388 | if (null !== $the_['function']) { |
| 389 | 389 | |
| 390 | 390 | if (null !== $the_['include_path']) { |
@@ -535,7 +535,7 @@ discard block |
||
| 535 | 535 | $args = array(); |
| 536 | 536 | |
| 537 | 537 | if (is_array($arg) && 1 == count($arg) && isset($arg[0]) && is_object($arg[0])) { |
| 538 | - $args[] =& $arg[0]; |
|
| 538 | + $args[] = & $arg[0]; |
|
| 539 | 539 | } else { |
| 540 | 540 | $args[] = $arg; |
| 541 | 541 | } |
@@ -555,7 +555,7 @@ discard block |
||
| 555 | 555 | reset($this->filters[$tag]); |
| 556 | 556 | |
| 557 | 557 | do { |
| 558 | - foreach ((array)current($this->filters[$tag]) as $the_) { |
|
| 558 | + foreach ((array) current($this->filters[$tag]) as $the_) { |
|
| 559 | 559 | if (null !== $the_['function']) { |
| 560 | 560 | |
| 561 | 561 | if (null !== $the_['include_path']) { |
@@ -623,7 +623,7 @@ discard block |
||
| 623 | 623 | reset($this->filters[$tag]); |
| 624 | 624 | |
| 625 | 625 | do { |
| 626 | - foreach ((array)current($this->filters[$tag]) as $the_) { |
|
| 626 | + foreach ((array) current($this->filters[$tag]) as $the_) { |
|
| 627 | 627 | if (null !== $the_['function']) { |
| 628 | 628 | |
| 629 | 629 | if (null !== $the_['include_path']) { |
@@ -705,7 +705,7 @@ discard block |
||
| 705 | 705 | '', |
| 706 | 706 | ); |
| 707 | 707 | } else { |
| 708 | - $function = (array)$function; |
|
| 708 | + $function = (array) $function; |
|
| 709 | 709 | } |
| 710 | 710 | |
| 711 | 711 | if (is_object($function[0])) { |
@@ -732,7 +732,7 @@ discard block |
||
| 732 | 732 | reset($this->filters['all']); |
| 733 | 733 | |
| 734 | 734 | do { |
| 735 | - foreach ((array)current($this->filters['all']) as $the_) { |
|
| 735 | + foreach ((array) current($this->filters['all']) as $the_) { |
|
| 736 | 736 | if (null !== $the_['function']) { |
| 737 | 737 | |
| 738 | 738 | if (null !== $the_['include_path']) { |
@@ -1052,7 +1052,7 @@ discard block |
||
| 1052 | 1052 | */ |
| 1053 | 1053 | public function shortcode_atts($pairs, $atts, $shortcode = '') |
| 1054 | 1054 | { |
| 1055 | - $atts = (array)$atts; |
|
| 1055 | + $atts = (array) $atts; |
|
| 1056 | 1056 | $out = array(); |
| 1057 | 1057 | foreach ($pairs as $name => $default) { |
| 1058 | 1058 | if (array_key_exists($name, $atts)) { |