@@ -117,7 +117,7 @@ |
||
117 | 117 | if (!is_callable([$this, $method])) { |
118 | 118 | $class = get_class($this); |
119 | 119 | throw new \RuntimeException( |
120 | - "Event $eventKey can't invoke $class::$method(). Not callable.", |
|
120 | + "event $eventKey can't invoke $class::$method(). Not callable.", |
|
121 | 121 | 1428564865 |
122 | 122 | ); |
123 | 123 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | --- |
19 | 19 | |
20 | 20 | Page Content |
21 | -EOF; |
|
21 | +eof; |
|
22 | 22 | |
23 | 23 | $parser = new Meta([ |
24 | 24 | 'fences' => ['yaml' => ['open' => '---', 'close' => '---']], |
@@ -211,6 +211,11 @@ |
||
211 | 211 | * @return mixed |
212 | 212 | */ |
213 | 213 | // @codingStandardsIgnoreStart |
214 | + |
|
215 | + /** |
|
216 | + * @param integer $min |
|
217 | + * @param integer $max |
|
218 | + */ |
|
214 | 219 | public static function crypto_rand_secure($min, $max) |
215 | 220 | { |
216 | 221 | // @codingStandardsIgnoreEnd |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | /** |
123 | 123 | * Resolves request into the current page |
124 | 124 | * |
125 | - * @return Page|ResponseInterface |
|
125 | + * @return Page |
|
126 | 126 | */ |
127 | 127 | protected function resolveCurrentPage(Router $router) |
128 | 128 | { |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | /** |
161 | 161 | * Renders page into output format (HTML) |
162 | 162 | * |
163 | - * @return string|ResponseInterface |
|
163 | + * @return string |
|
164 | 164 | */ |
165 | 165 | protected function renderHtml(Page $page) |
166 | 166 | { |
@@ -20,7 +20,7 @@ |
||
20 | 20 | /** @var string slug */ |
21 | 21 | const SLUG_PREFIX = '-phile.phpFastCache.slug-'; |
22 | 22 | |
23 | - const SLUG = ['{', '}' , '(', ')','/' , '\\' , '@', ':']; |
|
23 | + const SLUG = ['{', '}', '(', ')', '/', '\\', '@', ':']; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * @var CacheInterface the cache engine |