@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | if (in_array($method, ['aboutRoute', 'aboutAction', 'aboutUrl'])) { |
34 | 34 | |
35 | - $args = resolve(RouteNormalizer::class)->{'normalize'.ltrim($method, 'about')}($args); |
|
35 | + $args = resolve(RouteNormalizer::class)->{'normalize' . ltrim($method, 'about')}($args); |
|
36 | 36 | |
37 | 37 | return resolve('heyman.chains')->forgetAbout(RouteEventListener::class, $args); |
38 | 38 | } |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | resolve('heyman.chains')->forgetAbout(ViewEventListener::class, $args); |
46 | 46 | } |
47 | 47 | |
48 | - if (in_array($method, ['aboutFetching', 'aboutSaving', 'aboutModel','aboutDeleting', 'aboutCreating', 'aboutUpdating'])) { |
|
48 | + if (in_array($method, ['aboutFetching', 'aboutSaving', 'aboutModel', 'aboutDeleting', 'aboutCreating', 'aboutUpdating'])) { |
|
49 | 49 | $method = ltrim($method, 'about'); |
50 | 50 | $method = str_replace('Fetching', 'retrieved', $method); |
51 | 51 | $method = strtolower($method); |