Passed
Push — master ( a7111d...c1fc2f )
by Mihail
05:53
created
Apps/ActiveRecord/ContentCategory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     /**
13 13
      * Get record via category path address
14 14
      * @param string $path
15
-     * @return self|object|null
15
+     * @return ContentCategory
16 16
      */
17 17
     public static function getByPath($path = '')
18 18
     {
Please login to merge, or discard this patch.
Apps/Model/Console/ArchBuilder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@
 block discarded – undo
10 10
 {
11 11
     public $message;
12 12
 
13
+    /**
14
+     * @param string $type
15
+     */
13 16
     public function createObject($name, $type)
14 17
     {
15 18
         $singleName = false;
Please login to merge, or discard this patch.
Apps/Model/Front/Profile/FormIgnoreDelete.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
     private $_user;
16 16
     private $_target_id;
17 17
 
18
+    /**
19
+     * @param string $target_id
20
+     */
18 21
     public function __construct(iUser $user, $target_id)
19 22
     {
20 23
         $this->_user = $user;
Please login to merge, or discard this patch.
Apps/Controller/Api/Profile.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
         $findAnswer->delete();
203 203
 
204 204
         $this->response = json_encode([
205
-           'status' => 1,
205
+            'status' => 1,
206 206
             'message' => 'ok'
207 207
         ]);
208 208
     }
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormCategoryDelete.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-    * Pass properties from record construction
33
-    */
32
+     * Pass properties from record construction
33
+     */
34 34
     public function before()
35 35
     {
36 36
         $this->title = Serialize::getDecodeLocale($this->_record->title);
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    * Form labels
42
-    */
41
+     * Form labels
42
+     */
43 43
     public function labels()
44 44
     {
45 45
         return [
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-    * Validation rules
54
-    */
53
+     * Validation rules
54
+     */
55 55
     public function rules()
56 56
     {
57 57
         return [
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormCategoryUpdate.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    * Pass properties from default record values
42
-    */
41
+     * Pass properties from default record values
42
+     */
43 43
     public function before()
44 44
     {
45 45
         if ($this->_record->id === null) {
@@ -74,8 +74,8 @@  discard block
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-    * Form labels
78
-    */
77
+     * Form labels
78
+     */
79 79
     public function labels()
80 80
     {
81 81
         return [
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-    * Validation rules
97
-    */
96
+     * Validation rules
97
+     */
98 98
     public function rules()
99 99
     {
100 100
         $rules = [
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormContentClear.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@  discard block
 block discarded – undo
15 15
     }
16 16
 
17 17
     /**
18
-    * Example of usage magic labels for future form helper usage
19
-    */
18
+     * Example of usage magic labels for future form helper usage
19
+     */
20 20
     public function labels()
21 21
     {
22 22
         return [
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
-    * Typo rules
29
-    */
28
+     * Typo rules
29
+     */
30 30
     public function rules()
31 31
     {
32 32
         return [];
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormContentDelete.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-    * Set readable title of content to property
28
-    */
27
+     * Set readable title of content to property
28
+     */
29 29
     public function before()
30 30
     {
31 31
         $this->id = $this->_record->id;
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-    * Form labels
37
-    */
36
+     * Form labels
37
+     */
38 38
     public function labels()
39 39
     {
40 40
         return [
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-    * Validation does not matter
47
-    */
46
+     * Validation does not matter
47
+     */
48 48
     public function rules()
49 49
     {
50 50
         return [
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormContentRestore.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
     }
21 21
 
22 22
     /**
23
-    * Pass properties
24
-    */
23
+     * Pass properties
24
+     */
25 25
     public function before()
26 26
     {
27 27
         $this->id = $this->_record->id;
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-    * Form label
33
-    */
32
+     * Form label
33
+     */
34 34
     public function labels()
35 35
     {
36 36
         return [
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-    * Typical rules
43
-    */
42
+     * Typical rules
43
+     */
44 44
     public function rules()
45 45
     {
46 46
         return [];
Please login to merge, or discard this patch.