@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | ], |
52 | 52 | ]; |
53 | 53 | |
54 | - private $inheritance = [ AbstractHelper::class ]; |
|
54 | + private $inheritance = [AbstractHelper::class]; |
|
55 | 55 | |
56 | 56 | /** |
57 | 57 | * |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | |
147 | 147 | $actual = $this->target->plugin('helper'); |
148 | 148 | $this->assertInstanceOf(Proxy\HelperProxy::class, $actual); |
149 | - $this->assertSame($helper,$actual->helper()); |
|
149 | + $this->assertSame($helper, $actual->helper()); |
|
150 | 150 | } |
151 | 151 | |
152 | 152 | public function testPluginPassesOptionsToHelperManager() |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | |
161 | 161 | $this->target->plugin('helper', $options); |
162 | 162 | |
163 | - $count = $this->helperManager->getCallCount('get','helper',$options); |
|
163 | + $count = $this->helperManager->getCallCount('get', 'helper', $options); |
|
164 | 164 | $this->assertEquals(1, $count); |
165 | 165 | $this->assertTrue($this->target->exists('helper')); |
166 | 166 | } |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | $view |
211 | 211 | ->expects($this->once()) |
212 | 212 | ->method('render') |
213 | - ->with($this->callback(function (ViewModel $subject) { |
|
213 | + ->with($this->callback(function(ViewModel $subject) { |
|
214 | 214 | return $subject->getTemplate() === 'template.en'; |
215 | 215 | })); |
216 | 216 | $target->getBodyText(); |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | $view |
232 | 232 | ->expects($this->once()) |
233 | 233 | ->method('render') |
234 | - ->with($this->callback(function (ViewModel $subject) { |
|
234 | + ->with($this->callback(function(ViewModel $subject) { |
|
235 | 235 | return $subject->getTemplate() === 'template'; |
236 | 236 | })); |
237 | 237 | $target->getBodyText(); |