@@ -26,6 +26,10 @@ |
||
26 | 26 | */ |
27 | 27 | protected $helper; |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $defaultHost |
|
31 | + * @param string $defaultDir |
|
32 | + */ |
|
29 | 33 | public function __construct($defaultHost, $defaultDir, OpcacheResetCommandHelper $opcacheResetCommandHelper, HttpClient $httpClient) |
30 | 34 | { |
31 | 35 | $this->defaultHost = $defaultHost; |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * @param string $dir |
66 | 66 | * @param string $token |
67 | 67 | * |
68 | - * @return OpcacheResetHelper |
|
68 | + * @return OpcacheResetCommandHelper |
|
69 | 69 | */ |
70 | 70 | public function createFile($dir, $token) |
71 | 71 | { |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | * |
91 | 91 | * @param string $dir |
92 | 92 | * |
93 | - * @return OpcacheResetHelper |
|
93 | + * @return OpcacheResetCommandHelper |
|
94 | 94 | */ |
95 | 95 | public function clean($dir) |
96 | 96 | { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | /** |
103 | 103 | * Handle given response and return message from it. |
104 | 104 | * |
105 | - * @param ResponseInterface $response |
|
105 | + * @param HttpResponse $response |
|
106 | 106 | * |
107 | 107 | * @return string |
108 | 108 | */ |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\HttpKernel\KernelInterface; |
6 | 6 | use Symfony\Component\HttpFoundation\Response; |
7 | -use Symfony\Component\Filesystem\Filesystem; |
|
8 | 7 | use GuzzleHttp\Psr7\Response as HttpResponse; |
9 | 8 | |
10 | 9 | class OpcacheResetCommandHelper |