Completed
Push — master ( 35ca34...65e37a )
by Michał
03:22
created
src/auth/id/protocols/oauth1/middlewares/Authorization.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
      * See the class description for which kind of additional options are supported/mandatory.
105 105
      *
106 106
      * @param   callable    $handler
107
-     * @return  callable
107
+     * @return  \Closure
108 108
      */
109 109
     public function __invoke(callable $handler) : callable
110 110
     {
Please login to merge, or discard this patch.
src/notify/transports/mail/drivers/Postmark.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
     /**
159 159
      * Converts an array of e-mail addresses into a string compliant with Postmark's API's format.
160 160
      *
161
-     * @param   array   $emails     The e-mail addresses to convert.
161
+     * @param   string[]   $emails     The e-mail addresses to convert.
162 162
      * @return  string
163 163
      */
164 164
     protected function emailsToString(array $emails) : string
Please login to merge, or discard this patch.
src/notify/transports/mail/drivers/Sendgrid.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      * Parses the first and only the first address from the given array of e-mail addresses into a structure
153 153
      * understood by Sendgrid's API.
154 154
      *
155
-     * @param   array   $addresses  The e-mail addresses to parse.
155
+     * @param   string[]   $addresses  The e-mail addresses to parse.
156 156
      * @return  array
157 157
      */
158 158
     protected function processFirstAddress(array $addresses) : array
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * Parses the given array of e-mail addresses into a structure understood by Sendgrid's API.
174 174
      *
175
-     * @param   array   $addresses  The e-mail addresses to parse.
175
+     * @param   string[]   $addresses  The e-mail addresses to parse.
176 176
      * @return  array
177 177
      */
178 178
     protected function processAllAddresses(array $addresses) : array
Please login to merge, or discard this patch.
src/notify/transports/slack/Message.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -403,7 +403,7 @@
 block discarded – undo
403 403
     /**
404 404
      * Attempts to create a slack\Attachment instance based on the $attachment data given.
405 405
      *
406
-     * @param   mixed   $attachment
406
+     * @param   callable   $attachment
407 407
      * @return  mixed                   Either an instantiated slack\Attachment, or a passthrough of the input data.
408 408
      */
409 409
     protected function resolveAttachment($attachment)
Please login to merge, or discard this patch.
src/utils/math/bigint/Gmp.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     /**
109 109
      * Constructs a new GMP BigInt instance.
110 110
      *
111
-     * @param   \GMP    $value  The GMP object holding the actual value.
111
+     * @param   resource    $value  The GMP object holding the actual value.
112 112
      */
113 113
     public function __construct(\GMP $value)
114 114
     {
Please login to merge, or discard this patch.
src/utils/tests/FuncTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -414,6 +414,10 @@
 block discarded – undo
414 414
     }
415 415
 
416 416
     // Used by the when/unless tests.
417
+
418
+    /**
419
+     * @param boolean $exists
420
+     */
417 421
     protected function setWhenExists($exists)
418 422
     {
419 423
         $this->whenExists = (bool) $exists;
Please login to merge, or discard this patch.
src/diagnostics/Debug.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * Returns the Dumper in use.
128 128
      *
129
-     * @return  interfaces\Dumper|callable
129
+     * @return  interfaces\Dumper
130 130
      */
131 131
     public static function getDumper() : interfaces\Dumper
132 132
     {
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
     /**
180 180
      * Returns a default variable dumper to be used by self::dump() if no other has been set.
181 181
      *
182
-     * @return  interfaces\Dumper|callable  $dumper
182
+     * @return  string  $dumper
183 183
      */
184 184
     protected static function getDefaultDumper()
185 185
     {
Please login to merge, or discard this patch.
src/utils/Arr.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *
55 55
      * @param   array   $array      The array to which the element should be added.
56 56
      * @param   string  $key        The key at which the value should be added.
57
-     * @param   mixed   $value      The value of the element.
57
+     * @param   string   $value      The value of the element.
58 58
      * @param   string  $delimiter  The delimiter to use when exploding the key into parts.
59 59
      */
60 60
     public static function add(array& $array, string $key, $value, string $delimiter = null)
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
      * @param   array           $array      The array to search in.
380 380
      * @param   string|array    $key        The string delimited key or a chain (array) of nested keys pointing
381 381
      *                                      to the desired key.
382
-     * @param   mixed           $default    The default value.
382
+     * @param   null|string           $default    The default value.
383 383
      * @param   string          $delimiter  The delimiter to use when exploding the key into parts.
384 384
      * @return  mixed
385 385
      */
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
      * callback returns a truthy value. If a number is passed, the last n values are excluded from the result.
467 467
      *
468 468
      * @param   array           $array      The array to traverse.
469
-     * @param   callable|int    $callback   The truth test the value should pass or an integer denoting how many
469
+     * @param   boolean    $callback   The truth test the value should pass or an integer denoting how many
470 470
      *                                      of the final elements of the array should be excluded. The count is
471 471
      *                                      1-indexed, ie. if you want to exclude the last 2 elements, pass 2.
472 472
      * @param   mixed           $default    The default value to be returned if none of the elements passes the test.
@@ -772,7 +772,7 @@  discard block
 block discarded – undo
772 772
      *  - @see Arr::tail()
773 773
      *
774 774
      * @param   array               $array      The array to traverse.
775
-     * @param   callable|int|bool   $callback   The truth test the value should pass or an integer denoting how many
775
+     * @param   boolean   $callback   The truth test the value should pass or an integer denoting how many
776 776
      *                                          of the initial elements of the array should be excluded. The count
777 777
      *                                          is 1-indexed, ie. if you want to exclude the first 2 elements, pass 2.
778 778
      *                                          When a falsy value is given, the method will return all but the first
Please login to merge, or discard this patch.
src/console/input/Definition.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -70,6 +70,7 @@
 block discarded – undo
70 70
      *                                                  pass a Definition as the first argument to this method right
71 71
      *                                                  away, in which case the default of "true" will be used).
72 72
      * @param   Definition          ...$definitions     The Definitions to merge with this one.
73
+     * @param Definition[] $definitions
73 74
      * @return  Definition                              The merged Definition as a new instance.
74 75
      * @throws  \InvalidArgumentException               When one or more of the parameters is not a Definition
75 76
      *                                                  instance (not including the $mergeArguments bool).
Please login to merge, or discard this patch.