Completed
Push — master ( 1c9c5d...16765e )
by Aleksandar
73:03 queued 50:26
created
public/admin_assets/vendors/bootstrap-wysiwyg/examples/php/upload.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-	header ( 'Content-type: text/plain');
4
-	echo "
3
+    header ( 'Content-type: text/plain');
4
+    echo "
5 5
 		Now see here, you will see the output of the param most 
6 6
 		interesting to PHP. \$_POST.
7 7
 		
@@ -13,4 +13,4 @@  discard block
 block discarded – undo
13 13
 		
14 14
 		print_r(\$_POST);
15 15
 	";	
16
-	print_r($_POST);
17 16
\ No newline at end of file
17
+    print_r($_POST);
18 18
\ No newline at end of file
Please login to merge, or discard this patch.
vendors/jQuery-Smart-Wizard/more_examples/smartwizard2-validation.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -155,9 +155,9 @@
 block discarded – undo
155 155
 <table align="center" border="0" cellpadding="0" cellspacing="0">
156 156
 <tr><td>
157 157
 <?
158
-   if(isset($_REQUEST['issubmit'])){
159
-      echo "<strong>form is sumbitted</strong>";
160
-   }
158
+    if(isset($_REQUEST['issubmit'])){
159
+        echo "<strong>form is sumbitted</strong>";
160
+    }
161 161
 
162 162
 ?>
163 163
  
Please login to merge, or discard this patch.
admin_assets/vendors/jQuery-Smart-Wizard/more_examples/services/service.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@  discard block
 block discarded – undo
1 1
 <?
2
-  $action = $_REQUEST["action"];
3
-  switch($action){
4
-      case "1":
2
+    $action = $_REQUEST["action"];
3
+    switch($action){
4
+        case "1":
5 5
           getContent();
6 6
         break;                     
7
-      default:
7
+        default:
8 8
         break;
9
-  }
9
+    }
10 10
 
11
- function getContent(){
12
-   //sleep(1); 
13
-   $step_number = $_REQUEST["step_number"]; 
14
-   $html = '<h2 class="StepTitle">Step '.$step_number.' Content</h2>';
15
-   if($step_number == 1){
16
-      $html .='<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
11
+    function getContent(){
12
+    //sleep(1); 
13
+    $step_number = $_REQUEST["step_number"]; 
14
+    $html = '<h2 class="StepTitle">Step '.$step_number.' Content</h2>';
15
+    if($step_number == 1){
16
+        $html .='<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
17 17
             sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
18 18
             quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 
19 19
             Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 
20 20
             Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
21 21
             </p>';
22
-   }elseif($step_number == 2){
23
-      $html .='<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
22
+    }elseif($step_number == 2){
23
+        $html .='<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
24 24
             sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
25 25
             quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 
26 26
             Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 
@@ -32,8 +32,8 @@  discard block
 block discarded – undo
32 32
             Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 
33 33
             Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
34 34
             </p>';
35
-   }elseif($step_number == 3){
36
-      $html .='<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
35
+    }elseif($step_number == 3){
36
+        $html .='<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
37 37
             sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
38 38
             quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 
39 39
             Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 
@@ -51,15 +51,15 @@  discard block
 block discarded – undo
51 51
             Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 
52 52
             Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
53 53
             </p>';
54
-   }else{
55
-      $html .='<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
54
+    }else{
55
+        $html .='<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
56 56
             sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
57 57
             quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 
58 58
             Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 
59 59
             Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
60 60
             </p>';
61
-   }
62
-   echo $html;
63
- }
61
+    }
62
+    echo $html;
63
+    }
64 64
 
65 65
 ?>
66 66
\ No newline at end of file
Please login to merge, or discard this patch.
src/Admin/src/Controller/AuthController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     /**
99 99
      * Clears user session.
100 100
      *
101
-     * @return static
101
+     * @return \Psr\Http\Message\ResponseInterface
102 102
      */
103 103
     public function logout(): \Psr\Http\Message\ResponseInterface
104 104
     {
Please login to merge, or discard this patch.
src/Article/src/Service/ArticleServiceInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
     /**
13 13
      * Fetches a list of ArticleEntity models.
14 14
      *
15
-     * @param array $params
16 15
      * @return ArrayObject
17 16
      */
18 17
     public function fetchAllArticles($page, $limit);
Please login to merge, or discard this patch.
src/Article/src/Service/EventService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
63 63
         return $this->getPagination($select, $page, $limit);
64 64
     }
65 65
 
66
+    /**
67
+     * @param integer $limit
68
+     */
66 69
     public function fetchLatest($limit)
67 70
     {
68 71
         return $this->articleEventsMapper->getLatest($limit);
Please login to merge, or discard this patch.
src/Article/src/Service/PostService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -203,6 +203,9 @@
 block discarded – undo
203 203
         return $this->articleMapper->getCategories($articleId);
204 204
     }
205 205
 
206
+    /**
207
+     * @param integer $limit
208
+     */
206 209
     public function getLatestWeb($limit)
207 210
     {
208 211
         return $this->articlePostsMapper->getLatest($limit);
Please login to merge, or discard this patch.
src/Article/src/Service/VideoService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
         return $this->getPagination($select, $page, $limit);
92 92
     }
93 93
 
94
+    /**
95
+     * @param integer $limit
96
+     */
94 97
     public function fetchLatest($limit)
95 98
     {
96 99
         return $this->articleVideosMapper->getLatest($limit);
Please login to merge, or discard this patch.
src/Core/Mapper/AdminUsersMapper.php 1 patch
Doc Comments   +10 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
         $this->adapter = $adapter;
32 32
     }
33 33
 
34
+    /**
35
+     * @param string $id
36
+     */
34 37
     public function get($id)
35 38
     {
36 39
         return $this->select(['admin_user_id' => $id])->current();
@@ -40,7 +43,7 @@  discard block
 block discarded – undo
40 43
      * Get admin user by email.
41 44
      *
42 45
      * @param  string $email email
43
-     * @return array|\ArrayObject|null
46
+     * @return string
44 47
      */
45 48
     public function getByEmail(string $email)
46 49
     {
@@ -50,7 +53,6 @@  discard block
 block discarded – undo
50 53
     /**
51 54
      * Updates login data.
52 55
      *
53
-     * @param  string $uuid admin user id
54 56
      * @return int number of affected rows
55 57
      */
56 58
     public function updateLogin(string $userId): int
@@ -58,6 +60,9 @@  discard block
 block discarded – undo
58 60
         return $this->update(['last_login' => date('Y-m-d H:i:s')], ['admin_user_id' => $userId]);
59 61
     }
60 62
 
63
+    /**
64
+     * @param string $userId
65
+     */
61 66
     public function getPaginationSelect($userId)
62 67
     {
63 68
         $select = $this->getSql()->select()->order(['created_at' => 'desc']);
@@ -67,6 +72,9 @@  discard block
 block discarded – undo
67 72
         return $select;
68 73
     }
69 74
 
75
+    /**
76
+     * @param integer $limit
77
+     */
70 78
     public function getRandom($limit)
71 79
     {
72 80
         $select = $this->getSql()->select()
Please login to merge, or discard this patch.