Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 3182231

Browse files
committed
Remove unused property
`$inflector` is no longer used since inlining the logic.
1 parent 5e7469e commit 3182231

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/View/Http/InjectTemplateListener.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@
1818

1919
class InjectTemplateListener extends AbstractListenerAggregate
2020
{
21-
/**
22-
* FilterInterface/inflector used to normalize names for use as template identifiers
23-
*
24-
* @var mixed
25-
*/
26-
protected $inflector;
27-
2821
/**
2922
* Array of controller namespace -> template mappings
3023
*
@@ -162,7 +155,7 @@ public function mapController($controller)
162155

163156
$template = trim($map . $controller, '/');
164157

165-
//inflect CamelCase to dash
158+
// inflect CamelCase to dash
166159
return $this->inflectName($template);
167160
}
168161
return false;

0 commit comments

Comments
 (0)