@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | /** |
| 52 | 52 | * resolve a file path by replace the mod: prefix |
| 53 | 53 | * |
| 54 | - * @param $path |
|
| 54 | + * @param string $path |
|
| 55 | 55 | * |
| 56 | 56 | * @return string|null the full filepath or null if file does not exists |
| 57 | 57 | */ |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | /** |
| 72 | 72 | * load files e.g. config files |
| 73 | 73 | * |
| 74 | - * @param $file |
|
| 74 | + * @param string $file |
|
| 75 | 75 | * |
| 76 | 76 | * @return mixed|null |
| 77 | 77 | */ |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | /** |
| 100 | 100 | * static method to get files by directory and file filter |
| 101 | 101 | * |
| 102 | - * @param $directory |
|
| 102 | + * @param string $directory |
|
| 103 | 103 | * @param string $filter |
| 104 | 104 | * |
| 105 | 105 | * @return array |
@@ -179,8 +179,8 @@ discard block |
||
| 179 | 179 | * method to get a more secure random value |
| 180 | 180 | * code from http://stackoverflow.com/questions/1846202/php-how-to-generate-a-random-unique-alphanumeric-string/13733588#13733588 |
| 181 | 181 | * |
| 182 | - * @param $min |
|
| 183 | - * @param $max |
|
| 182 | + * @param integer $min |
|
| 183 | + * @param integer $max |
|
| 184 | 184 | * |
| 185 | 185 | * @return mixed |
| 186 | 186 | */ |
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | /** |
| 124 | 124 | * set content of page |
| 125 | 125 | * |
| 126 | - * @param $content |
|
| 126 | + * @param string $content |
|
| 127 | 127 | */ |
| 128 | 128 | public function setContent($content) { |
| 129 | 129 | $this->content = $content; |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * get file path to plugin root (trailing slash) or to a sub-item |
| 119 | 119 | * |
| 120 | 120 | * @param string $subPath |
| 121 | - * @return null|string null if item does not exist |
|
| 121 | + * @return string null if item does not exist |
|
| 122 | 122 | */ |
| 123 | 123 | protected function getPluginPath($subPath = '') { |
| 124 | 124 | return $this->plugin['dir'] . ltrim($subPath, DIRECTORY_SEPARATOR); |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | /** |
| 76 | 76 | * wrapper to call the render engine |
| 77 | 77 | * |
| 78 | - * @param $engine |
|
| 78 | + * @param \Twig_Environment $engine |
|
| 79 | 79 | * @param $vars |
| 80 | 80 | * @return mixed |
| 81 | 81 | */ |