@@ -47,6 +47,9 @@ |
||
| 47 | 47 | return is_array($data) ? $response : $response[0]; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | + /** |
|
| 51 | + * @param Runner $runner |
|
| 52 | + */ |
|
| 50 | 53 | private function process($runner, $rpc) |
| 51 | 54 | { |
| 52 | 55 | if (!property_exists($rpc, 'job')) { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Test; |
| 4 | 4 | |
| 5 | 5 | use Basis\Test; |
| 6 | -use Basis\Filesystem; |
|
| 7 | 6 | |
| 8 | 7 | class BootstrapTest extends Test |
| 9 | 8 | { |
@@ -8,6 +8,9 @@ discard block |
||
| 8 | 8 | { |
| 9 | 9 | use Toolkit; |
| 10 | 10 | |
| 11 | + /** |
|
| 12 | + * @param string $name |
|
| 13 | + */ |
|
| 11 | 14 | protected function require($name) |
| 12 | 15 | { |
| 13 | 16 | if (!$this->$name) { |
@@ -15,6 +18,9 @@ discard block |
||
| 15 | 18 | } |
| 16 | 19 | } |
| 17 | 20 | |
| 21 | + /** |
|
| 22 | + * @param string $message |
|
| 23 | + */ |
|
| 18 | 24 | protected function confirm($message) |
| 19 | 25 | { |
| 20 | 26 | $hash = md5($message); |
@@ -32,6 +32,9 @@ discard block |
||
| 32 | 32 | } |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $key |
|
| 37 | + */ |
|
| 35 | 38 | public function get($key) |
| 36 | 39 | { |
| 37 | 40 | if ($this->exists($key)) { |
@@ -39,6 +42,9 @@ discard block |
||
| 39 | 42 | } |
| 40 | 43 | } |
| 41 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $key |
|
| 47 | + */ |
|
| 42 | 48 | public function set($key, $value) |
| 43 | 49 | { |
| 44 | 50 | $filename = '.cache/'.$key; |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Basis; |
| 4 | 4 | |
| 5 | -use Exception; |
|
| 6 | 5 | use Tarantool\Mapper\Pool; |
| 7 | 6 | |
| 8 | 7 | class Service |