@@ -19,7 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * {@inheritdoc} |
| 21 | 21 | */ |
| 22 | - public function __construct($filePath) |
|
| 22 | + public function __construct ($filePath) |
|
| 23 | 23 | { |
| 24 | 24 | parent::__construct($filePath); |
| 25 | 25 | |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * {@inheritdoc} |
| 21 | 21 | */ |
| 22 | - public function __construct($filePath) |
|
| 22 | + public function __construct ($filePath) |
|
| 23 | 23 | { |
| 24 | 24 | parent::__construct($filePath); |
| 25 | 25 | |
@@ -14,12 +14,12 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | private $iterators; |
| 16 | 16 | |
| 17 | - public function __construct($string) |
|
| 17 | + public function __construct ($string) |
|
| 18 | 18 | { |
| 19 | 19 | $this->evaluated = $string; |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | - public function __toString() |
|
| 22 | + public function __toString () |
|
| 23 | 23 | { |
| 24 | 24 | return $this->getEvaluated(); |
| 25 | 25 | } |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | protected $fs; |
| 32 | 32 | |
| 33 | - public function setUp() |
|
| 33 | + public function setUp () |
|
| 34 | 34 | { |
| 35 | 35 | $this->dummyFile = vfsStream::newFile('foo.html.twig'); |
| 36 | 36 | $this->rootDir = vfsStream::setup(); |
@@ -10,10 +10,12 @@ |
||
| 10 | 10 | { |
| 11 | 11 | $globals = $env->getGlobals(); |
| 12 | 12 | |
| 13 | - if (is_array($assetPath) || ($assetPath instanceof \ArrayAccess)) { |
|
| 13 | + if (is_array($assetPath) || ($assetPath instanceof \ArrayAccess)) |
|
| 14 | + { |
|
| 14 | 15 | $assetPath = $assetPath['permalink']; |
| 15 | 16 | } |
| 16 | - else if (is_null($assetPath)) { |
|
| 17 | + else if (is_null($assetPath)) |
|
| 18 | + { |
|
| 17 | 19 | $assetPath = '/'; |
| 18 | 20 | } |
| 19 | 21 | |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | /** |
| 104 | 104 | * {@inheritdoc} |
| 105 | 105 | */ |
| 106 | - public function offsetExists($offset) |
|
| 106 | + public function offsetExists ($offset) |
|
| 107 | 107 | { |
| 108 | 108 | return $this->object->offsetExists($offset); |
| 109 | 109 | } |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | /** |
| 112 | 112 | * {@inheritdoc} |
| 113 | 113 | */ |
| 114 | - public function offsetGet($offset) |
|
| 114 | + public function offsetGet ($offset) |
|
| 115 | 115 | { |
| 116 | 116 | return $this->object->offsetGet($offset); |
| 117 | 117 | } |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | /** |
| 120 | 120 | * {@inheritdoc} |
| 121 | 121 | */ |
| 122 | - public function offsetSet($offset, $value) |
|
| 122 | + public function offsetSet ($offset, $value) |
|
| 123 | 123 | { |
| 124 | 124 | return $this->object->offsetSet($offset, $value); |
| 125 | 125 | } |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | /** |
| 128 | 128 | * {@inheritdoc} |
| 129 | 129 | */ |
| 130 | - public function offsetUnset($offset) |
|
| 130 | + public function offsetUnset ($offset) |
|
| 131 | 131 | { |
| 132 | 132 | return $this->object->offsetUnset($offset); |
| 133 | 133 | } |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | return $this->object->$name; |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | - return NULL; |
|
| 91 | + return null; |
|
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | public function coreInstanceOf ($class) |