@@ -13,9 +13,9 @@ discard block |
||
13 | 13 | trait Spinner |
14 | 14 | { |
15 | 15 | /** |
16 | - * @param $lambda |
|
16 | + * @param \Closure $lambda |
|
17 | 17 | * @param int $wait |
18 | - * @return bool |
|
18 | + * @return boolean|null |
|
19 | 19 | * @throws \Exception |
20 | 20 | */ |
21 | 21 | public function spin($lambda, $wait = 60) |
@@ -103,8 +103,8 @@ discard block |
||
103 | 103 | /** |
104 | 104 | * @param $context |
105 | 105 | * @param $element |
106 | - * @param $action |
|
107 | - * @param null $condition |
|
106 | + * @param string $action |
|
107 | + * @param boolean $condition |
|
108 | 108 | * @return bool |
109 | 109 | */ |
110 | 110 | private function _spinnerAction($context, $element, $action, $condition = null) |