Completed
Push — develop ( 3f2009...76de7c )
by John
03:46
created
Alpha/Controller/Controller.php 1 patch
Doc Comments   +11 added lines, -3 removed lines patch added patch discarded remove patch
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
     /**
298 298
      * Get the record for this controller (if any).
299 299
      *
300
-     * @return mixed
300
+     * @return ActiveRecord
301 301
      *
302 302
      * @since 1.0
303 303
      */
@@ -632,7 +632,7 @@  discard block
 block discarded – undo
632 632
     /**
633 633
      * Getter for the unit of work MAX duration.
634 634
      *
635
-     * @return int
635
+     * @return Integer
636 636
      *
637 637
      * @since 1.0
638 638
      */
@@ -1179,7 +1179,7 @@  discard block
 block discarded – undo
1179 1179
     /**
1180 1180
      * Generates the two security fields to prevent remote form processing.
1181 1181
      *
1182
-     * @return array An array containing the two fields
1182
+     * @return string[] An array containing the two fields
1183 1183
      *
1184 1184
      * @since 1.0
1185 1185
      */
@@ -1432,6 +1432,7 @@  discard block
 block discarded – undo
1432 1432
      * @since 2.0
1433 1433
      *
1434 1434
      * @throws \Alpha\Exception\NotImplementedException
1435
+     * @param Request $request
1435 1436
      */
1436 1437
     public function doHEAD($request)
1437 1438
     {
@@ -1444,6 +1445,7 @@  discard block
 block discarded – undo
1444 1445
      * @since 2.0
1445 1446
      *
1446 1447
      * @throws \Alpha\Exception\NotImplementedException
1448
+     * @param Request $request
1447 1449
      */
1448 1450
     public function doGET($request)
1449 1451
     {
@@ -1456,6 +1458,7 @@  discard block
 block discarded – undo
1456 1458
      * @since 2.0
1457 1459
      *
1458 1460
      * @throws \Alpha\Exception\NotImplementedException
1461
+     * @param Request $request
1459 1462
      */
1460 1463
     public function doPOST($request)
1461 1464
     {
@@ -1468,6 +1471,7 @@  discard block
 block discarded – undo
1468 1471
      * @since 2.0
1469 1472
      *
1470 1473
      * @throws \Alpha\Exception\NotImplementedException
1474
+     * @param Request $request
1471 1475
      */
1472 1476
     public function doPUT($request)
1473 1477
     {
@@ -1480,6 +1484,7 @@  discard block
 block discarded – undo
1480 1484
      * @since 2.0
1481 1485
      *
1482 1486
      * @throws \Alpha\Exception\NotImplementedException
1487
+     * @param Request $request
1483 1488
      */
1484 1489
     public function doPATCH($request)
1485 1490
     {
@@ -1492,6 +1497,7 @@  discard block
 block discarded – undo
1492 1497
      * @since 2.0
1493 1498
      *
1494 1499
      * @throws \Alpha\Exception\NotImplementedException
1500
+     * @param Request $request
1495 1501
      */
1496 1502
     public function doDELETE($request)
1497 1503
     {
@@ -1502,6 +1508,7 @@  discard block
 block discarded – undo
1502 1508
      * {@inheritdoc}
1503 1509
      *
1504 1510
      * @since 2.0
1511
+     * @param Request $request
1505 1512
      */
1506 1513
     public function doOPTIONS($request)
1507 1514
     {
@@ -1529,6 +1536,7 @@  discard block
 block discarded – undo
1529 1536
      * {@inheritdoc}
1530 1537
      *
1531 1538
      * @since 2.0.2
1539
+     * @param Request $request
1532 1540
      */
1533 1541
     public function doTRACE($request)
1534 1542
     {
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/InstallController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -454,7 +454,7 @@
 block discarded – undo
454 454
      * Custom version of the check rights method that only checks for a session for the config admin username/password,
455 455
      * when the system database is not set-up.
456 456
      *
457
-     * @return bool
457
+     * @return boolean|null
458 458
      *
459 459
      * @since 1.0
460 460
      */
Please login to merge, or discard this patch.
Alpha/Model/ActiveRecordProviderFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      * A static method that attempts to return a ActiveRecordProviderInterface instance
68 68
      * based on the name of the provider class supplied.
69 69
      *
70
-     * @param $providerName The fully-qualified class name of the provider class.
70
+     * @param string $providerName The fully-qualified class name of the provider class.
71 71
      * @param $BO The (optional) active record instance to pass to the persistance provider for mapping.
72 72
      *
73 73
      * @throws \Alpha\Exception\IllegalArguementException
Please login to merge, or discard this patch.
Alpha/Model/Type/Relation.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -262,7 +262,6 @@  discard block
 block discarded – undo
262 262
     /**
263 263
      * Get the name of the business object class that this class is related to.
264 264
      *
265
-     * @param string $RC
266 265
      *
267 266
      * @return string
268 267
      *
@@ -512,7 +511,7 @@  discard block
 block discarded – undo
512 511
     /**
513 512
      * Getter for the Relation value.
514 513
      *
515
-     * @return mixed
514
+     * @return string
516 515
      *
517 516
      * @since 1.0
518 517
      */
@@ -754,7 +753,7 @@  discard block
 block discarded – undo
754 753
      * Set the taggedClass property to the name of the tagged class when building relations
755 754
      * to the TagObject BO.
756 755
      *
757
-     * @param $taggedClass
756
+     * @param string $taggedClass
758 757
      *
759 758
      * @since 1.0
760 759
      */
Please login to merge, or discard this patch.
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/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/Request.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
      * @param string $key     The key to search for
301 301
      * @param mixed  $default If key is not found, return this instead
302 302
      *
303
-     * @return mixed
303
+     * @return string
304 304
      *
305 305
      * @since 2.0
306 306
      */
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
      * @param string $key     The key to search for
392 392
      * @param mixed  $default If key is not found, return this instead
393 393
      *
394
-     * @return mixed
394
+     * @return string
395 395
      *
396 396
      * @since 2.0
397 397
      */
Please login to merge, or discard this patch.