@@ -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 | */ |