Completed
Push — master ( 93f6e0...a7ea34 )
by Aydin
27:25 queued 18:55
created
src/Exercise/MyFirstIo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @return array
74
+     * @return string[]
75 75
      */
76 76
     public function getArgs()
77 77
     {
Please login to merge, or discard this patch.
test/Exercise/TimeServerTest.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -3,19 +3,13 @@
 block discarded – undo
3 3
 
4 4
 namespace PhpSchool\LearnYouPhpTest\Exercise;
5 5
 
6
-use Faker\Factory;
7
-use Faker\Generator;
8
-use Hoa\Core\Exception\Exception;
9 6
 use Hoa\Socket\Client;
10
-use PhpSchool\LearnYouPhp\Exercise\ArrayWeGo;
11 7
 use PhpSchool\LearnYouPhp\Exercise\TimeServer;
12 8
 use PhpSchool\LearnYouPhp\TcpSocketFactory;
13 9
 use PhpSchool\PhpWorkshop\Result\Failure;
14 10
 use PhpSchool\PhpWorkshop\Result\StdOutFailure;
15 11
 use PhpSchool\PhpWorkshop\Result\Success;
16 12
 use PHPUnit_Framework_TestCase;
17
-use PhpSchool\LearnYouPhp\Exercise\MyFirstIo;
18
-use Symfony\Component\Filesystem\Filesystem;
19 13
 
20 14
 /**
21 15
  * Class TimeServerTest
Please login to merge, or discard this patch.
test/Exercise/ConcernedAboutSeparationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use PhpParser\ParserFactory;
8 8
 use PhpSchool\LearnYouPhp\Exercise\ConcernedAboutSeparation;
9 9
 use PhpSchool\PhpWorkshop\Result\Failure;
10
-use PhpSchool\PhpWorkshop\Result\FailureInterface;
11 10
 use PhpSchool\PhpWorkshop\Result\Success;
12 11
 use PhpSchool\PhpWorkshop\Solution\SolutionInterface;
13 12
 use PHPUnit_Framework_TestCase;
Please login to merge, or discard this patch.
exercises/dependency-heaven/solution/vendor/composer/ClassLoader.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -341,6 +341,10 @@
 block discarded – undo
341 341
         return $file;
342 342
     }
343 343
 
344
+    /**
345
+     * @param string $class
346
+     * @param string $ext
347
+     */
344 348
     private function findFileWithExtension($class, $ext)
345 349
     {
346 350
         // PSR-4 lookup
Please login to merge, or discard this patch.
dependency-heaven/solution/vendor/danielstjules/stringy/src/Stringy.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      *
105 105
      * @param  string $start  Delimiter marking the start of the substring
106 106
      * @param  string $end    Delimiter marketing the end of the substring
107
-     * @param  string $offset Index from which to begin the search
107
+     * @param  integer $offset Index from which to begin the search
108 108
      * @return Stringy Object whose $str has been converted to an URL slug
109 109
      */
110 110
     public function between($start, $end, $offset = 0)
@@ -497,7 +497,7 @@  discard block
 block discarded – undo
497 497
      *
498 498
      * @param  string   $needle Substring to look for
499 499
      * @param  int      $offset Offset from which to search
500
-     * @return int|bool The occurrence's index if found, otherwise false
500
+     * @return integer The occurrence's index if found, otherwise false
501 501
      */
502 502
     public function indexOf($needle, $offset = 0)
503 503
     {
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
      *
514 514
      * @param  string   $needle Substring to look for
515 515
      * @param  int      $offset Offset from which to search
516
-     * @return int|bool The last occurrence's index if found, otherwise false
516
+     * @return integer The last occurrence's index if found, otherwise false
517 517
      */
518 518
     public function indexOfLast($needle, $offset = 0)
519 519
     {
@@ -818,8 +818,8 @@  discard block
 block discarded – undo
818 818
      * ArrayAccess interface, and throws an OutOfBoundsException if the index
819 819
      * does not exist.
820 820
      *
821
-     * @param  mixed $offset         The index from which to retrieve the char
822
-     * @return mixed                 The character at the specified index
821
+     * @param  integer $offset         The index from which to retrieve the char
822
+     * @return string                 The character at the specified index
823 823
      * @throws \OutOfBoundsException If the positive or negative offset does
824 824
      *                               not exist
825 825
      */
Please login to merge, or discard this patch.
solution/vendor/danielstjules/stringy/tests/StringyTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * Asserts that a variable is of a Stringy instance.
11 11
      *
12
-     * @param mixed $actual
12
+     * @param S $actual
13 13
      */
14 14
     public function assertStringy($actual)
15 15
     {
Please login to merge, or discard this patch.
exercises/dependency-heaven/solution/vendor/klein/klein/src/Klein/Route.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -90,6 +90,7 @@
 block discarded – undo
90 90
      * @param string $path
91 91
      * @param string|array $method
92 92
      * @param boolean $count_match
93
+     * @param string $name
93 94
      */
94 95
     public function __construct($callback, $path = null, $method = null, $count_match = true, $name = null)
95 96
     {
Please login to merge, or discard this patch.
dependency-heaven/solution/vendor/klein/klein/src/Klein/ServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      *
120 120
      * This will start a session if the current session id is null
121 121
      *
122
-     * @return string|false
122
+     * @return string|boolean
123 123
      */
124 124
     public function startSession()
125 125
     {
Please login to merge, or discard this patch.
dependency-heaven/solution/vendor/klein/klein/tests/functions-bootstrap.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
             return false;
35 35
         }
36 36
 
37
+        /**
38
+         * @param string $value
39
+         */
37 40
         function apc_store($key, $value)
38 41
         {
39 42
             return false;
Please login to merge, or discard this patch.