@@ -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 | } |
@@ -175,7 +175,7 @@ |
||
175 | 175 | ]; |
176 | 176 | |
177 | 177 | /** |
178 | - * @var array $templateVars |
|
178 | + * @var array $templateVars |
|
179 | 179 | */ |
180 | 180 | $templateVars = Registry::get('templateVars'); |
181 | 181 | $templateVars += $defaults; |
@@ -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']; |
@@ -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' => '---']], |
@@ -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 \BasePhpFastCache the cache engine |
@@ -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 |
@@ -98,7 +98,7 @@ |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |
101 | - * @var \Phile\Plugin\AbstractPlugin $plugin |
|
101 | + * @var \Phile\Plugin\AbstractPlugin $plugin |
|
102 | 102 | */ |
103 | 103 | $plugin = new $pluginClassName; |
104 | 104 | if (($plugin instanceof AbstractPlugin) === false) { |