@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | return array( |
4 | - 'admin_path' => 'admin', |
|
4 | + 'admin_path' => 'admin', |
|
5 | 5 | ); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | return array( |
4 | - 'on_page' => 10, |
|
5 | - 'nav_number' => 7, |
|
6 | - 'order' => 'DESC', |
|
7 | - 'sort' => 'id', |
|
8 | - 'path' => 'foto', |
|
4 | + 'on_page' => 10, |
|
5 | + 'nav_number' => 7, |
|
6 | + 'order' => 'DESC', |
|
7 | + 'sort' => 'id', |
|
8 | + 'path' => 'foto', |
|
9 | 9 | ); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | return array( |
4 | - 'site_key' => 'site_key_value', |
|
5 | - 'session_expire' => '+1 month', |
|
4 | + 'site_key' => 'site_key_value', |
|
5 | + 'session_expire' => '+1 month', |
|
6 | 6 | ); |
@@ -189,7 +189,7 @@ |
||
189 | 189 | // Sort |
190 | 190 | if (!isset(self::$mergedFilters[$tag])) { |
191 | 191 | ksort(self::$filters[$tag]); |
192 | - self::$mergedFilters[ $tag ] = true; |
|
192 | + self::$mergedFilters[$tag] = true; |
|
193 | 193 | } |
194 | 194 | |
195 | 195 | reset(self::$filters[$tag]); |
@@ -159,7 +159,6 @@ discard block |
||
159 | 159 | * |
160 | 160 | * @param string $tag The name of the filter hook. |
161 | 161 | * @param mixed $value The value on which the filters hooked to <tt>$tag</tt> are applied on. |
162 | - * @param mixed $var,... Additional variables passed to the functions hooked to <tt>$tag</tt>. |
|
163 | 162 | * |
164 | 163 | * @return mixed The filtered value after all hooked functions are applied to it. |
165 | 164 | */ |
@@ -313,7 +312,7 @@ discard block |
||
313 | 312 | * @param int|bool $priority Used in counting how many hooks were applied. If === false and |
314 | 313 | * $function is an object reference, we return the unique id only if it already has one, false otherwise. |
315 | 314 | * |
316 | - * @return string|bool Unique ID for usage as array key or false if $priority === false and |
|
315 | + * @return string|false Unique ID for usage as array key or false if $priority === false and |
|
317 | 316 | * $function is an object reference, and it does not already have a unique id. |
318 | 317 | */ |
319 | 318 | private static function buildUniqueID($tag, $function, $priority) |
@@ -64,7 +64,7 @@ |
||
64 | 64 | $this->data = array_merge($mergeWith, $this->data); |
65 | 65 | } |
66 | 66 | |
67 | - return array_map(function ($a) { |
|
67 | + return array_map(function($a) { |
|
68 | 68 | return htmlspecialchars(trim($a)); |
69 | 69 | }, $this->data); |
70 | 70 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | 'published' => '', |
27 | 27 | ], $this->data); |
28 | 28 | |
29 | - $data = array_map(function ($a) { |
|
29 | + $data = array_map(function($a) { |
|
30 | 30 | return trim($a); |
31 | 31 | }, $data); |
32 | 32 |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | 'foto/kategorie/<slug>(/|/page/<page>)?', |
16 | 16 | 'Rudolf\Modules\Albums\Category\One\Controller::getCategory', |
17 | 17 | ['slug' => '[a-z0-9]+(?:-[a-z0-9]+)*', |
18 | - 'page' => '[1-9][0-9]*$', ], |
|
18 | + 'page' => '[1-9][0-9]*$', ], |
|
19 | 19 | ['page' => 0] |
20 | 20 | )); |
21 | 21 | |
@@ -24,8 +24,8 @@ discard block |
||
24 | 24 | 'foto/<year>/<month>/<slug>(\/)?', |
25 | 25 | 'Rudolf\Modules\Albums\One\Controller::getOne', |
26 | 26 | ['year' => '[0-9]{4}', |
27 | - 'month' => "(0[1-9]|[12]\d|3[01])", |
|
28 | - 'slug' => '[a-z0-9-]+', |
|
27 | + 'month' => "(0[1-9]|[12]\d|3[01])", |
|
28 | + 'slug' => '[a-z0-9-]+', |
|
29 | 29 | // (0[1-9]|[12]\d|3[01]) with 0, like 05 |
30 | 30 | // ([1-9]|[12]\d|3[01]) without 0, like 5 |
31 | 31 | ] |
@@ -26,7 +26,7 @@ |
||
26 | 26 | 'published' => '', |
27 | 27 | ], $this->data); |
28 | 28 | |
29 | - $data = array_map(function ($a) { |
|
29 | + $data = array_map(function($a) { |
|
30 | 30 | return trim($a); |
31 | 31 | }, $data); |
32 | 32 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | 'thumb_height' => '', |
19 | 19 | ], $this->data); |
20 | 20 | |
21 | - $data = array_map(function ($a) { |
|
21 | + $data = array_map(function($a) { |
|
22 | 22 | return trim($a); |
23 | 23 | }, $data); |
24 | 24 |