Completed
Push — master ( 079139...59379f )
by Mikołaj
02:42
created
src/component/Hooks/Filter.php 1 patch
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.
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.
src/module/Articles/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/component/Hooks/Action.php 1 patch
Spacing   +7 added lines, -9 removed lines patch added patch discarded remove patch
@@ -103,8 +103,7 @@  discard block
 block discarded – undo
103 103
 
104 104
         if (!isset(self::$actions[$tag])) {
105 105
             self::$actions[$tag] = 1;
106
-        } else {
107
-            ++self::$actions[$tag];
106
+        } else {++self::$actions[$tag];
108 107
         }
109 108
 
110 109
         // Do 'all' actions first
@@ -137,9 +136,9 @@  discard block
 block discarded – undo
137 136
         }
138 137
 
139 138
         // Sort
140
-        if (!isset(Filter::$mergedFilters[ $tag ])) {
139
+        if (!isset(Filter::$mergedFilters[$tag])) {
141 140
             ksort(Filter::$filters[$tag]);
142
-            Filter::$mergedFilters[ $tag ] = true;
141
+            Filter::$mergedFilters[$tag] = true;
143 142
         }
144 143
 
145 144
         reset(Filter::$filters[$tag]);
@@ -171,8 +170,7 @@  discard block
 block discarded – undo
171 170
 
172 171
         if (!isset(self::$actions[$tag])) {
173 172
             self::$actions[$tag] = 1;
174
-        } else {
175
-            ++self::$actions[$tag];
173
+        } else {++self::$actions[$tag];
176 174
         }
177 175
 
178 176
         // Do 'all' actions first
@@ -195,12 +193,12 @@  discard block
 block discarded – undo
195 193
         }
196 194
 
197 195
         // Sort
198
-        if (!isset($merged_filters[ $tag ])) {
196
+        if (!isset($merged_filters[$tag])) {
199 197
             ksort(Filter::$filters[$tag]);
200
-            $merged_filters[ $tag ] = true;
198
+            $merged_filters[$tag] = true;
201 199
         }
202 200
 
203
-        reset(Filter::$filters[ $tag ]);
201
+        reset(Filter::$filters[$tag]);
204 202
 
205 203
         do {
206 204
             foreach ((array) current(Filter::$filters[$tag]) as $the_) {
Please login to merge, or discard this patch.