Completed
Push — master ( 3478cb...77f82c )
by Michal
21:25
created
vendor/symfony/polyfill-mbstring/bootstrap.php 1 patch
Doc Comments   +33 added lines patch added patch discarded remove patch
@@ -16,10 +16,23 @@  discard block
 block discarded – undo
16 16
     define('MB_CASE_LOWER', 1);
17 17
     define('MB_CASE_TITLE', 2);
18 18
 
19
+    /**
20
+     * @param string $to
21
+     */
19 22
     function mb_convert_encoding($s, $to, $from = null) { return p\Mbstring::mb_convert_encoding($s, $to, $from); }
20 23
     function mb_decode_mimeheader($s) { return p\Mbstring::mb_decode_mimeheader($s); }
24
+
25
+    /**
26
+     * @param string $s
27
+     * @param string $charset
28
+     * @param string $transferEnc
29
+     */
21 30
     function mb_encode_mimeheader($s, $charset = null, $transferEnc = null, $lf = null, $indent = null) { return p\Mbstring::mb_encode_mimeheader($s, $charset, $transferEnc, $lf, $indent); }
22 31
     function mb_convert_case($s, $mode, $enc = null) { return p\Mbstring::mb_convert_case($s, $mode, $enc); }
32
+
33
+    /**
34
+     * @param string|boolean $enc
35
+     */
23 36
     function mb_internal_encoding($enc = null) { return p\Mbstring::mb_internal_encoding($enc); }
24 37
     function mb_language($lang = null) { return p\Mbstring::mb_language($lang); }
25 38
     function mb_list_encodings() { return p\Mbstring::mb_list_encodings(); }
@@ -28,17 +41,33 @@  discard block
 block discarded – undo
28 41
     function mb_detect_encoding($str, $encodingList = null, $strict = false) { return p\Mbstring::mb_detect_encoding($str, $encodingList, $strict); }
29 42
     function mb_detect_order($encodingList = null) { return p\Mbstring::mb_detect_order($encodingList); }
30 43
     function mb_parse_str($s, &$result = array()) { parse_str($s, $result); }
44
+
45
+    /**
46
+     * @param string $enc
47
+     */
31 48
     function mb_strlen($s, $enc = null) { return p\Mbstring::mb_strlen($s, $enc); }
32 49
     function mb_strpos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_strpos($s, $needle, $offset, $enc); }
33 50
     function mb_strtolower($s, $enc = null) { return p\Mbstring::mb_strtolower($s, $enc); }
51
+
52
+    /**
53
+     * @param string $s
54
+     */
34 55
     function mb_strtoupper($s, $enc = null) { return p\Mbstring::mb_strtoupper($s, $enc); }
35 56
     function mb_substitute_character($char = null) { return p\Mbstring::mb_substitute_character($char); }
57
+
58
+    /**
59
+     * @param string $enc
60
+     */
36 61
     function mb_substr($s, $start, $length = 2147483647, $enc = null) { return p\Mbstring::mb_substr($s, $start, $length, $enc); }
37 62
     function mb_stripos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_stripos($s, $needle, $offset, $enc); }
38 63
     function mb_stristr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_stristr($s, $needle, $part, $enc); }
39 64
     function mb_strrchr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_strrchr($s, $needle, $part, $enc); }
40 65
     function mb_strrichr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_strrichr($s, $needle, $part, $enc); }
41 66
     function mb_strripos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_strripos($s, $needle, $offset, $enc); }
67
+
68
+    /**
69
+     * @param string $s
70
+     */
42 71
     function mb_strrpos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_strrpos($s, $needle, $offset, $enc); }
43 72
     function mb_strstr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_strstr($s, $needle, $part, $enc); }
44 73
     function mb_get_info($type = 'all') { return p\Mbstring::mb_get_info($type); }
@@ -47,5 +76,9 @@  discard block
 block discarded – undo
47 76
     function mb_substr_count($haystack, $needle, $enc = null) { return p\Mbstring::mb_substr_count($haystack, $needle, $enc); }
48 77
     function mb_output_handler($contents, $status) { return p\Mbstring::mb_output_handler($contents, $status); }
49 78
     function mb_http_input($type = '') { return p\Mbstring::mb_http_input($type); }
79
+
80
+    /**
81
+     * @param string $fromEncoding
82
+     */
50 83
     function mb_convert_variables($toEncoding, $fromEncoding, &$a = null, &$b = null, &$c = null, &$d = null, &$e = null, &$f = null) { return p\Mbstring::mb_convert_variables($toEncoding, $fromEncoding, $v0, $a, $b, $c, $d, $e, $f); }
51 84
 }
Please login to merge, or discard this patch.
vendor/symfony/polyfill-mbstring/Mbstring.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -267,6 +267,9 @@  discard block
 block discarded – undo
267 267
         return self::mb_detect_encoding($var, array($encoding)) || false !== @iconv($encoding, $encoding, $var);
268 268
     }
269 269
 
270
+    /**
271
+     * @return string
272
+     */
270 273
     public static function mb_detect_encoding($str, $encodingList = null, $strict = false)
271 274
     {
272 275
         if (null === $encodingList) {
@@ -528,6 +531,9 @@  discard block
 block discarded – undo
528 531
         return $contents;
529 532
     }
530 533
 
534
+    /**
535
+     * @param boolean $part
536
+     */
531 537
     private static function getSubpart($pos, $part, $haystack, $encoding)
532 538
     {
533 539
         if (false === $pos) {
@@ -575,6 +581,9 @@  discard block
 block discarded – undo
575 581
         return self::mb_convert_case($s[0], MB_CASE_UPPER, 'UTF-8');
576 582
     }
577 583
 
584
+    /**
585
+     * @param string $file
586
+     */
578 587
     private static function getData($file)
579 588
     {
580 589
         if (file_exists($file = __DIR__.'/Resources/unidata/'.$file.'.ser')) {
Please login to merge, or discard this patch.
vendor/symfony/var-dumper/Caster/ExceptionCaster.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -132,6 +132,9 @@  discard block
 block discarded – undo
132 132
         return $a;
133 133
     }
134 134
 
135
+    /**
136
+     * @param boolean $isNested
137
+     */
135 138
     public static function castFrameStub(FrameStub $frame, array $a, Stub $stub, $isNested)
136 139
     {
137 140
         if (!$isNested) {
@@ -183,6 +186,11 @@  discard block
 block discarded – undo
183 186
         return $a;
184 187
     }
185 188
 
189
+    /**
190
+     * @param string $xClass
191
+     * @param string $xPrefix
192
+     * @param integer $filter
193
+     */
186 194
     private static function filterExceptionArray($xClass, array $a, $xPrefix, $filter)
187 195
     {
188 196
         if (isset($a[$xPrefix.'trace'])) {
@@ -208,6 +216,9 @@  discard block
 block discarded – undo
208 216
         return $a;
209 217
     }
210 218
 
219
+    /**
220
+     * @param integer $srcContext
221
+     */
211 222
     private static function extractSource(array $srcArray, $line, $srcContext)
212 223
     {
213 224
         $src = array();
Please login to merge, or discard this patch.
vendor/symfony/var-dumper/Dumper/HtmlDumper.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -47,6 +47,8 @@  discard block
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * {@inheritdoc}
50
+     * @param string $output
51
+     * @param string $charset
50 52
      */
51 53
     public function __construct($output = null, $charset = null)
52 54
     {
@@ -99,6 +101,7 @@  discard block
 block discarded – undo
99 101
 
100 102
     /**
101 103
      * {@inheritdoc}
104
+     * @param resource $output
102 105
      */
103 106
     public function dump(Data $data, $output = null)
104 107
     {
@@ -427,6 +430,7 @@  discard block
 block discarded – undo
427 430
 
428 431
     /**
429 432
      * {@inheritdoc}
433
+     * @param integer $depth
430 434
      */
431 435
     protected function dumpLine($depth, $endOfValue = false)
432 436
     {
Please login to merge, or discard this patch.
vendor/symfony/var-dumper/Test/VarDumperTestTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
  */
20 20
 trait VarDumperTestTrait
21 21
 {
22
+    /**
23
+     * @param string $dump
24
+     */
22 25
     public function assertDumpEquals($dump, $data, $message = '')
23 26
     {
24 27
         $this->assertSame(rtrim($dump), $this->getDump($data), $message);
Please login to merge, or discard this patch.
vendor/cakephp/bake/src/Shell/Task/BakeTask.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * Base execute method parses some parameters and sets some properties on the bake tasks.
117 117
      * call when overriding execute()
118 118
      *
119
-     * @return void
119
+     * @return integer|null
120 120
      */
121 121
     public function main()
122 122
     {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      * Executes an external shell command and pipes its output to the stdout
136 136
      *
137 137
      * @param string $command the command to execute
138
-     * @return void
138
+     * @return false|null
139 139
      * @throws \RuntimeException if any errors occurred during the execution
140 140
      */
141 141
     public function callProcess($command)
Please login to merge, or discard this patch.
vendor/cakephp/bake/src/Shell/Task/SimpleBakeTask.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      * Execute method
73 73
      *
74 74
      * @param string|null $name The name of the object to bake.
75
-     * @return void
75
+     * @return integer|null
76 76
      */
77 77
     public function main($name = null)
78 78
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Console/Shell.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
      *      'extra' => ['param' => 'value']
330 330
      * ]);`
331 331
      *
332
-     * @return mixed The return of the other shell.
332
+     * @return integer The return of the other shell.
333 333
      * @link http://book.cakephp.org/3.0/en/console-and-shells.html#invoking-other-shells-from-your-shell
334 334
      */
335 335
     public function dispatchShell()
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
      * Safely access the values in $this->params.
537 537
      *
538 538
      * @param string $name The name of the parameter to get.
539
-     * @return string|bool|null Value. Will return null if it doesn't exist.
539
+     * @return string Value. Will return null if it doesn't exist.
540 540
      */
541 541
     public function param($name)
542 542
     {
@@ -552,7 +552,7 @@  discard block
 block discarded – undo
552 552
      * @param string $prompt Prompt text.
553 553
      * @param string|array|null $options Array or string of options.
554 554
      * @param string|null $default Default input value.
555
-     * @return mixed Either the default value, or the user-provided input.
555
+     * @return string|null Either the default value, or the user-provided input.
556 556
      * @link http://book.cakephp.org/3.0/en/console-and-shells.html#Shell::in
557 557
      */
558 558
     public function in($prompt, $options = null, $default = null)
@@ -789,7 +789,7 @@  discard block
 block discarded – undo
789 789
      * Stop execution of the current script. Wraps exit() making
790 790
      * testing easier.
791 791
      *
792
-     * @param int|string $status see http://php.net/exit for values
792
+     * @param integer $status see http://php.net/exit for values
793 793
      * @return void
794 794
      */
795 795
     protected function _stop($status = 0)
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Core/ClassLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
      *
99 99
      * @param string $prefix The namespace prefix.
100 100
      * @param string $relativeClass The relative class name.
101
-     * @return mixed Boolean false if no mapped file can be loaded, or the
101
+     * @return false|string Boolean false if no mapped file can be loaded, or the
102 102
      * name of the mapped file that was loaded.
103 103
      */
104 104
     protected function _loadMappedFile($prefix, $relativeClass)
Please login to merge, or discard this patch.