Completed
Pull Request — develop (#302)
by John
03:42
created
Alpha/Controller/LogoutController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/Controller/MetricController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/Controller/RecordSelectorController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/Controller/SearchController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.
Alpha/View/Renderer/RendererProviderFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1013,7 +1013,7 @@
 block discarded – undo
1013 1013
     /**
1014 1014
      * Get the current view renderer provider.
1015 1015
      *
1016
-     * @return Alpha\View\Renderer\RendererProviderInterface
1016
+     * @return RendererProviderInterface
1017 1017
      *
1018 1018
      * @since 2.0
1019 1019
      */
Please login to merge, or discard this patch.
Alpha/Model/ActiveRecord.php 1 patch
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
     /**
317 317
      * Populates the child object from the database table by the given attribute value.
318 318
      *
319
-     * @param string $atribute        The name of the attribute to load the object by.
319
+     * @param string $attribute        The name of the attribute to load the object by.
320 320
      * @param string $value           The value of the attribute to load the object by.
321 321
      * @param bool   $ignoreClassType Default is false, set to true if you want to load from overloaded tables and ignore the class type
322 322
      * @param array  $loadAttributes  The attributes to load from the database to this object (leave blank to load all attributes)
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
     /**
393 393
      * Loads all of the objects of this class by the specified attribute into an array which is returned.
394 394
      *
395
-     * @param string $atribute        The attribute to load the objects by.
395
+     * @param string $attribute        The attribute to load the objects by.
396 396
      * @param string $value           The value of the attribute to load the objects by.
397 397
      * @param int    $start           The start of the SQL LIMIT clause, useful for pagination.
398 398
      * @param int    $limit           The amount (limit) of objects to load, useful for pagination.
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
     /**
434 434
      * Loads all of the objects of this class by the specified attributes into an array which is returned.
435 435
      *
436
-     * @param array  $atributes       The attributes to load the objects by.
436
+     * @param array  $attributes       The attributes to load the objects by.
437 437
      * @param array  $values          The values of the attributes to load the objects by.
438 438
      * @param int    $start           The start of the SQL LIMIT clause, useful for pagination.
439 439
      * @param int    $limit           The amount (limit) of objects to load, useful for pagination.
@@ -1101,7 +1101,7 @@  discard block
 block discarded – undo
1101 1101
     /**
1102 1102
      * Gets the count from the database for the amount of objects of this class.
1103 1103
      *
1104
-     * @param array $atributes The attributes to count the objects by (optional).
1104
+     * @param array $attributes The attributes to count the objects by (optional).
1105 1105
      * @param array $values    The values of the attributes to count the objects by (optional).
1106 1106
      *
1107 1107
      * @return int
@@ -1174,7 +1174,7 @@  discard block
 block discarded – undo
1174 1174
      * to be overridden in case you want to do something different with the ID of your objects outside
1175 1175
      * of the standard 11 digit OID sequence used internally in Alpha.
1176 1176
      *
1177
-     * @return int 11 digit zero-padded OID value.
1177
+     * @return string 11 digit zero-padded OID value.
1178 1178
      *
1179 1179
      * @since 1.0
1180 1180
      */
@@ -1191,7 +1191,7 @@  discard block
 block discarded – undo
1191 1191
      * Gets the OID for the object in zero-padded format (same as getID()).  This version is final so cannot
1192 1192
      * be overridden.
1193 1193
      *
1194
-     * @return int 11 digit zero-padded OID value.
1194
+     * @return string 11 digit zero-padded OID value.
1195 1195
      *
1196 1196
      * @since 1.0
1197 1197
      */
@@ -1756,7 +1756,6 @@  discard block
 block discarded – undo
1756 1756
      * @param string $attributeName         The name of the attribute to apply the index on.
1757 1757
      * @param string $relatedClass          The name of the related class in the format "NameObject".
1758 1758
      * @param string $relatedClassAttribute The name of the field to relate to on the related class.
1759
-     * @param bool   $allowNullValues       For foreign key indexes that don't allow null values, set this to false (default is true).
1760 1759
      *
1761 1760
      * @since 1.0
1762 1761
      *
Please login to merge, or discard this patch.
Alpha/Controller/ControllerInterface.php 1 patch
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -60,37 +60,36 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * Handles GET HTTP requests.
62 62
      *
63
-     * @param Alpha\Util\Http\Request $request
64 63
      *
65 64
      * @since Alpha\Util\Http\Response
66 65
      * @since 1.0
66
+     * @return \Alpha\Util\Http\Response|null
67 67
      */
68 68
     public function doGET($params);
69 69
 
70 70
     /**
71 71
      * Handles POST HTTP requests.
72 72
      *
73
-     * @param Alpha\Util\Http\Request $request
74 73
      *
75 74
      * @since Alpha\Util\Http\Response
76 75
      * @since 1.0
76
+     * @return \Alpha\Util\Http\Response|null
77 77
      */
78 78
     public function doPOST($params);
79 79
 
80 80
     /**
81 81
      * Handles PUT HTTP requests.
82 82
      *
83
-     * @param Alpha\Util\Http\Request $request
84 83
      *
85 84
      * @since Alpha\Util\Http\Response
86 85
      * @since 1.0
86
+     * @return \Alpha\Util\Http\Response
87 87
      */
88 88
     public function doPUT($params);
89 89
 
90 90
     /**
91 91
      * Handles PATCH HTTP requests.
92 92
      *
93
-     * @param Alpha\Util\Http\Request $request
94 93
      *
95 94
      * @since Alpha\Util\Http\Response
96 95
      * @since 1.0
@@ -100,30 +99,30 @@  discard block
 block discarded – undo
100 99
     /**
101 100
      * Handles DELETE HTTP requests.
102 101
      *
103
-     * @param Alpha\Util\Http\Request $request
104 102
      *
105 103
      * @since Alpha\Util\Http\Response
106 104
      * @since 1.0
105
+     * @return \Alpha\Util\Http\Response
107 106
      */
108 107
     public function doDELETE($params);
109 108
 
110 109
     /**
111 110
      * Handles OPTIONS HTTP requests.
112 111
      *
113
-     * @param Alpha\Util\Http\Request $request
114 112
      *
115 113
      * @since Alpha\Util\Http\Response
116 114
      * @since 1.0
115
+     * @return \Alpha\Util\Http\Response
117 116
      */
118 117
     public function doOPTIONS($params);
119 118
 
120 119
     /**
121 120
      * Handles TRACE HTTP requests.
122 121
      *
123
-     * @param Alpha\Util\Http\Request $request
124 122
      *
125 123
      * @since Alpha\Util\Http\Response
126 124
      * @since 2.0.2
125
+     * @return \Alpha\Util\Http\Response
127 126
      */
128 127
     public function doTRACE($params);
129 128
 }
Please login to merge, or discard this patch.
Alpha/Controller/PhpinfoController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      *
89 89
      * @param Alpha\Util\Http\Request $request
90 90
      *
91
-     * @return Alpha\Util\Http\Response
91
+     * @return Response
92 92
      *
93 93
      * @since 1.0
94 94
      */
Please login to merge, or discard this patch.