@@ -71,7 +71,7 @@ |
||
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | - * @return array |
|
| 74 | + * @return string[] |
|
| 75 | 75 | */ |
| 76 | 76 | public function getArgs() |
| 77 | 77 | { |
@@ -3,19 +3,13 @@ |
||
| 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 |
@@ -7,7 +7,6 @@ |
||
| 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; |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * @param string $endpoint |
| 79 | - * @return RequestInterface |
|
| 79 | + * @return Request |
|
| 80 | 80 | */ |
| 81 | 81 | private function newApiRequest($endpoint) |
| 82 | 82 | { |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @return array |
|
| 95 | + * @return string[] |
|
| 96 | 96 | */ |
| 97 | 97 | public function getRequiredPackages() |
| 98 | 98 | { |