Completed
Branch develop (8f72cf)
by John
07:52
created
Alpha/Model/Type/RelationLookup.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -222,6 +222,7 @@  discard block
 block discarded – undo
222 222
      * (non-PHPdoc)
223 223
      *
224 224
      * @see Alpha\Model\ActiveRecord::loadAllByAttribute()
225
+     * @param string $attribute
225 226
      */
226 227
     public function loadAllByAttribute($attribute, $value, $start = 0, $limit = 0, $orderBy = 'OID', $order = 'ASC', $ignoreClassType = false, $constructorArgs = array())
227 228
     {
@@ -312,7 +313,7 @@  discard block
 block discarded – undo
312 313
     /**
313 314
      * Returns an array of the OIDs of the related objects.
314 315
      *
315
-     * @return array
316
+     * @return integer[]
316 317
      *
317 318
      * @since 1.0
318 319
      */
@@ -325,7 +326,7 @@  discard block
 block discarded – undo
325 326
      * Used to set the OIDs of the related objects.  Pass a two-item array of OIDs, the first
326 327
      * one being the left object OID, the second being the right.
327 328
      *
328
-     * @param array $OIDs
329
+     * @param string[] $OIDs
329 330
      *
330 331
      * @since 1.0
331 332
      *
Please login to merge, or discard this patch.
Alpha/Util/Cache/CacheProviderFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      * A static method that attempts to return a CacheProviderInterface instance
64 64
      * based on the name of the provider class supplied.
65 65
      *
66
-     * @param $providerName The class name of the provider class (fully qualified).
66
+     * @param string $providerName The class name of the provider class (fully qualified).
67 67
      *
68 68
      * @throws \Alpha\Exception\IllegalArguementException
69 69
      *
Please login to merge, or discard this patch.
Alpha/Util/Code/Highlight/HighlightProviderFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      * A static method that attempts to return a HighlightProviderInterface instance
64 64
      * based on the name of the provider class supplied.
65 65
      *
66
-     * @param $providerName The fully-qualified class name of the provider class, should implement Alpha\Util\Code\Highlight\HighlightProviderInterface
66
+     * @param string $providerName The fully-qualified class name of the provider class, should implement Alpha\Util\Code\Highlight\HighlightProviderInterface
67 67
      *
68 68
      * @throws \Alpha\Exception\IllegalArguementException
69 69
      *
Please login to merge, or discard this patch.
Alpha/Util/Email/EmailProviderFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,11 +63,11 @@
 block discarded – undo
63 63
      * A static method that attempts to return a EmailProviderInterface instance
64 64
      * based on the name of the provider class supplied.
65 65
      *
66
-     * @param $providerName The class name of the provider class (fully qualified).
66
+     * @param string $providerName The class name of the provider class (fully qualified).
67 67
      *
68 68
      * @throws \Alpha\Exception\IllegalArguementException
69 69
      *
70
-     * @return \Alpha\Util\Http\Email\EmailProviderInterface
70
+     * @return EmailProviderInterface|null
71 71
      *
72 72
      * @since 2.0
73 73
      */
Please login to merge, or discard this patch.
Alpha/Util/Http/Session/SessionProviderFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      * A static method that attempts to return a SessionProviderInterface instance
64 64
      * based on the name of the provider class supplied.
65 65
      *
66
-     * @param $providerName The class name of the provider class (fully qualified).
66
+     * @param string $providerName The class name of the provider class (fully qualified).
67 67
      *
68 68
      * @throws \Alpha\Exception\IllegalArguementException
69 69
      *
Please login to merge, or discard this patch.
Alpha/Util/Search/SearchProviderFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      * A static method that attempts to return a SearchProviderInterface instance
64 64
      * based on the name of the provider class supplied.
65 65
      *
66
-     * @param $providerName The class name of the provider class, should be fully-qualified.
66
+     * @param string $providerName The class name of the provider class, should be fully-qualified.
67 67
      *
68 68
      * @throws \Alpha\Exception\IllegalArguementException;
69 69
      *
Please login to merge, or discard this patch.
Alpha/Model/ActiveRecord.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1162,7 +1162,7 @@  discard block
 block discarded – undo
1162 1162
      * to be overridden in case you want to do something different with the ID of your objects outside
1163 1163
      * of the standard 11 digit OID sequence used internally in Alpha.
1164 1164
      *
1165
-     * @return int 11 digit zero-padded OID value.
1165
+     * @return string 11 digit zero-padded OID value.
1166 1166
      *
1167 1167
      * @since 1.0
1168 1168
      */
@@ -1179,7 +1179,7 @@  discard block
 block discarded – undo
1179 1179
      * Gets the OID for the object in zero-padded format (same as getID()).  This version is final so cannot
1180 1180
      * be overridden.
1181 1181
      *
1182
-     * @return int 11 digit zero-padded OID value.
1182
+     * @return string 11 digit zero-padded OID value.
1183 1183
      *
1184 1184
      * @since 1.0
1185 1185
      */
@@ -2176,7 +2176,7 @@  discard block
 block discarded – undo
2176 2176
     /**
2177 2177
      * Starts a new database transaction.
2178 2178
      *
2179
-     * @param $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed.
2179
+     * @param ActiveRecord $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed.
2180 2180
      *
2181 2181
      * @since 1.0
2182 2182
      *
@@ -2209,7 +2209,7 @@  discard block
 block discarded – undo
2209 2209
     /**
2210 2210
      * Commits the current database transaction.
2211 2211
      *
2212
-     * @param $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed.
2212
+     * @param ActiveRecord $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed.
2213 2213
      *
2214 2214
      * @since 1.0
2215 2215
      *
@@ -2242,7 +2242,7 @@  discard block
 block discarded – undo
2242 2242
     /**
2243 2243
      * Aborts the current database transaction.
2244 2244
      *
2245
-     * @param $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed.
2245
+     * @param ActiveRecord $BO The ActiveRecord instance to pass to the database provider. Leave empty to have a new Person passed.
2246 2246
      *
2247 2247
      * @since 1.0
2248 2248
      *
@@ -2413,7 +2413,7 @@  discard block
 block discarded – undo
2413 2413
     /**
2414 2414
      * Check to see if an attribute exists on the BO.
2415 2415
      *
2416
-     * @param $attribute The attribute name.
2416
+     * @param string $attribute The attribute name.
2417 2417
      *
2418 2418
      * @return bool
2419 2419
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Alpha\Model\Type\Integer;
7 7
 use Alpha\Model\Type\Timestamp;
8 8
 use Alpha\Model\Type\TypeInterface;
9
-use Alpha\Model\Type\Enum;
10 9
 use Alpha\Model\Type\Relation;
11 10
 use Alpha\Util\Config\ConfigProvider;
12 11
 use Alpha\Util\Logging\Logger;
Please login to merge, or discard this patch.
Alpha/Model/Type/DEnum.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@
 block discarded – undo
230 230
     /**
231 231
      * Getter for the name.
232 232
      *
233
-     * @return string
233
+     * @return SmallText
234 234
      *
235 235
      * @since 1.0
236 236
      */
Please login to merge, or discard this patch.
Alpha/Model/Type/Date.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     /**
244 244
      * Get the year part.
245 245
      *
246
-     * @return int
246
+     * @return string
247 247
      *
248 248
      * @since 1.0
249 249
      */
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /**
256 256
      * Get the month part.
257 257
      *
258
-     * @return int
258
+     * @return string
259 259
      *
260 260
      * @since 1.0
261 261
      */
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
     /**
268 268
      * Get the day part.
269 269
      *
270
-     * @return int
270
+     * @return string
271 271
      *
272 272
      * @since 1.0
273 273
      */
Please login to merge, or discard this patch.