Completed
Push — master ( 079139...59379f )
by Mikołaj
02:42
created
src/install/DataGenerator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -88,6 +88,9 @@
 block discarded – undo
88 88
         return $sText;
89 89
     }
90 90
 
91
+    /**
92
+     * @return string
93
+     */
91 94
     public function clearDiacritics($sText)
92 95
     {
93 96
         $aReplacePL = array(
Please login to merge, or discard this patch.
src/module/Galleries/Roll/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * Returns total number of galleries items.
11 11
      *
12
-     * @param array|string $where
12
+     * @param string $where
13 13
      *
14 14
      * @return int
15 15
      */
Please login to merge, or discard this patch.
src/component/Hooks/Filter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
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]);
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,7 +159,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/component/Forms/Form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/module/Pages/One/Admin/FormCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/module/Albums/One/Admin/FormCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/module/Galleries/One/Admin/FormCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/module/Categories/One/Admin/FormCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
             'type' => $this->type,
24 24
         ], $this->data);
25 25
 
26
-        $data = array_map(function ($a) {
26
+        $data = array_map(function($a) {
27 27
             return trim($a);
28 28
         }, $data);
29 29
 
Please login to merge, or discard this patch.
src/module/Articles/hooks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 use Rudolf\Component\Hooks\Filter;
4 4
 
5
-Filter::add('head_after', function ($after) {
5
+Filter::add('head_after', function($after) {
6 6
     $after[] = '<link href="'.DIR.'/rss/" rel="alternate" type="application/rss+xml" title="Kanał z artykułami">';
7 7
 
8 8
     return $after;
Please login to merge, or discard this patch.