@@ -15,7 +15,6 @@ |
||
15 | 15 | use Phile\Core\Router; |
16 | 16 | use Phile\Model\Page; |
17 | 17 | use Phile\Repository\Page as Repository; |
18 | - |
|
19 | 18 | use Interop\Http\Server\MiddlewareInterface; |
20 | 19 | use Interop\Http\Server\RequestHandlerInterface; |
21 | 20 | use Psr\Http\Message\ResponseInterface; |
@@ -20,17 +20,17 @@ |
||
20 | 20 | { |
21 | 21 | |
22 | 22 | /** |
23 | - * @var string plugin attributes |
|
23 | + * @var string plugin attributes |
|
24 | 24 | */ |
25 | 25 | private $plugin = []; |
26 | 26 | |
27 | 27 | /** |
28 | - * @var array subscribed Phile events ['eventName' => 'classMethodToCall'] |
|
28 | + * @var array subscribed Phile events ['eventName' => 'classMethodToCall'] |
|
29 | 29 | */ |
30 | 30 | protected $events = []; |
31 | 31 | |
32 | 32 | /** |
33 | - * @var array the plugin settings |
|
33 | + * @var array the plugin settings |
|
34 | 34 | */ |
35 | 35 | protected $settings = []; |
36 | 36 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @var \SplFileInfo $this |
24 | - */ |
|
24 | + */ |
|
25 | 25 | $ext = Container::getInstance()->get('Phile_Config')->get('content_ext'); |
26 | 26 | return (preg_match('/^[^\.]{1}.*' . $ext . '/', $this->getFilename()) > 0); |
27 | 27 | } |
@@ -22,7 +22,7 @@ |
||
22 | 22 | protected $needsSetup; |
23 | 23 | |
24 | 24 | /** |
25 | - * @var array event subscription |
|
25 | + * @var array event subscription |
|
26 | 26 | */ |
27 | 27 | protected $events = [ |
28 | 28 | 'config_loaded' => 'onConfigLoaded', |
@@ -49,7 +49,7 @@ |
||
49 | 49 | */ |
50 | 50 | public function outputPluginSettings($data = null) |
51 | 51 | { |
52 | - // you can access this plugins' config in $this->settings |
|
52 | + // you can access this plugins' config in $this->settings |
|
53 | 53 | $settings = $this->settings; |
54 | 54 | |
55 | 55 | $content = $data['content']; |
@@ -10,8 +10,6 @@ |
||
10 | 10 | * @license http://opensource.org/licenses/MIT |
11 | 11 | */ |
12 | 12 | |
13 | -use Psr\Http\Message\ServerRequestInterface; |
|
14 | - |
|
15 | 13 | $config = [ |
16 | 14 | 'types' => [ |
17 | 15 | 'Phile_App' => Phile\Phile::class, |