Completed
Push — master ( 0f95d0...246dde )
by Mikołaj
03:39
created
src/app/module/Users/One/Login/View.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class View extends FrontView
9 9
 {
10
+    /**
11
+     * @param integer|null $status
12
+     */
10 13
     public function form($formData, $status)
11 14
     {
12 15
         $this->formData = $formData;
Please login to merge, or discard this patch.
src/app/module/Users/Roll/Admin/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      *
12 12
      * @param int   $limit
13 13
      * @param int   $onPage
14
-     * @param array $orderBy
14
+     * @param string[] $orderBy
15 15
      *
16 16
      * @return array
17 17
      */
Please login to merge, or discard this patch.
src/app/init.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 putenv('LC_ALL='.$lang.'.'.$codeset);
33 33
 putenv('LANG='.$lang.'.'.$codeset);
34 34
 putenv('LANGUAGE='.$lang.'.'.$codeset);
35
-setlocale(LC_ALL,  $lang.'.'.$codeset);
35
+setlocale(LC_ALL, $lang.'.'.$codeset);
36 36
 
37 37
 $domain = 'rudolf';
38 38
 bindtextdomain($domain, APP_ROOT.'/locale');
Please login to merge, or discard this patch.
src/app/module/Articles/routing.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     'artykuly/kategorie/<slug>(/|/page/<page>)?',
16 16
     'Rudolf\Modules\Articles\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
 block discarded – undo
24 24
     'artykuly/<year>/<month>/<slug>(\/)?',
25 25
     'Rudolf\Modules\Articles\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
     ]
Please login to merge, or discard this patch.
src/app/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/app/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/app/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/app/module/Koxy/One/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
             file_put_contents($file, implode(':', $contentArray));
43 43
 
44
-            setcookie('vote_'.$id, $type,  time() + (3600 * 24 * 365 * 5), DIR);
44
+            setcookie('vote_'.$id, $type, time() + (3600 * 24 * 365 * 5), DIR);
45 45
         }
46 46
 
47 47
         return [
Please login to merge, or discard this patch.
src/app/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.