Passed
Push — develop ( e07700...ed9389 )
by Henry
02:45
created
src/Models/ActiveRecord.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@
 block discarded – undo
84 84
     
85 85
     
86 86
     /**
87
-    * @var array $validators Validation checks
88
-    */
87
+     * @var array $validators Validation checks
88
+     */
89 89
     public static $validators = [];
90 90
 
91 91
     /**
Please login to merge, or discard this patch.
src/Models/Getters.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -51,24 +51,24 @@
 block discarded – undo
51 51
         return $records;
52 52
     }
53 53
 
54
-   /**
55
-    * Uses ContextClass and ContextID to get an object.
56
-    * Quick way to attach things to other objects in a one-to-one relationship
57
-    *
58
-    * @param array $record An array of database rows.
59
-    * @return ActiveRecord|null An array of instantiated ActiveRecord models from the provided data.
60
-    */
54
+    /**
55
+     * Uses ContextClass and ContextID to get an object.
56
+     * Quick way to attach things to other objects in a one-to-one relationship
57
+     *
58
+     * @param array $record An array of database rows.
59
+     * @return ActiveRecord|null An array of instantiated ActiveRecord models from the provided data.
60
+     */
61 61
     public static function getByContextObject(ActiveRecord $Record, $options = [])
62 62
     {
63 63
         return static::getByContext($Record::$rootClass, $Record->getPrimaryKeyValue(), $options);
64 64
     }
65 65
 
66 66
     /**
67
-    * Same as getByContextObject but this method lets you specify the ContextClass manually.
68
-    *
69
-    * @param array $record An array of database rows.
70
-    * @return ActiveRecord|null An array of instantiated ActiveRecord models from the provided data.
71
-    */
67
+     * Same as getByContextObject but this method lets you specify the ContextClass manually.
68
+     *
69
+     * @param array $record An array of database rows.
70
+     * @return ActiveRecord|null An array of instantiated ActiveRecord models from the provided data.
71
+     */
72 72
     public static function getByContext($contextClass, $contextID, $options = [])
73 73
     {
74 74
         if (!static::fieldExists('ContextClass')) {
Please login to merge, or discard this patch.