@@ -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) |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | * @param $context |
120 | 120 | * @param $element |
121 | 121 | * @param $action |
122 | - * @param null $condition |
|
122 | + * @param boolean|null $condition |
|
123 | 123 | * @return bool |
124 | 124 | */ |
125 | 125 | private function _spinnerAction($context, $element, $action, $condition = null) |