@@ -126,6 +126,7 @@ |
||
126 | 126 | |
127 | 127 | /** |
128 | 128 | * dependecy injection setter |
129 | + * @param \Closure $generator |
|
129 | 130 | */ |
130 | 131 | public function setIdGenerator($generator) |
131 | 132 | { |
@@ -160,6 +160,9 @@ |
||
160 | 160 | } |
161 | 161 | |
162 | 162 | |
163 | + /** |
|
164 | + * @param string $counter |
|
165 | + */ |
|
163 | 166 | public function addToCounter($counter,$val=1) |
164 | 167 | { |
165 | 168 | if(!array_key_exists($counter,$this->counter)){ |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | |
155 | 155 | /** |
156 | 156 | * parses a string and find inside one of muplier unit |
157 | - * @return unit multiplier |
|
157 | + * @return integer multiplier |
|
158 | 158 | */ |
159 | 159 | public static function FIND_MULTIPLIER($value) |
160 | 160 | { |
@@ -252,6 +252,9 @@ discard block |
||
252 | 252 | return $multiplier; |
253 | 253 | } |
254 | 254 | |
255 | + /** |
|
256 | + * @param string $value |
|
257 | + */ |
|
255 | 258 | public static function FILTER_SANITIZE_RANGE($value) |
256 | 259 | { |
257 | 260 | $range=static::PARSE_QUANTITATIVE_VALUE($value); |
@@ -340,6 +343,9 @@ discard block |
||
340 | 343 | } |
341 | 344 | |
342 | 345 | |
346 | + /** |
|
347 | + * @param integer $size |
|
348 | + */ |
|
343 | 349 | public static function LEFT_PAD_INT_WITH_ZERO($value, $size) |
344 | 350 | { |
345 | 351 | $intValue = (int) $value; |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace BOTK\Command; |
3 | 3 | |
4 | -use Symfony\Component\Console\Command\Command; |
|
5 | -use Symfony\Component\Console\Input\InputInterface; |
|
6 | -use Symfony\Component\Console\Input\InputOption; |
|
7 | -use Symfony\Component\Console\Input\InputArgument; |
|
8 | -use Symfony\Component\Console\Output\OutputInterface; |
|
9 | -use Symfony\Component\Console\Question\Question; |
|
10 | -use SKAgarwal\GoogleApi\PlacesApi; |
|
4 | +use Symfony\Component\Console\Command\Command; |
|
5 | +use Symfony\Component\Console\Input\InputInterface; |
|
6 | +use Symfony\Component\Console\Input\InputOption; |
|
7 | +use Symfony\Component\Console\Input\InputArgument; |
|
8 | +use Symfony\Component\Console\Output\OutputInterface; |
|
9 | +use Symfony\Component\Console\Question\Question; |
|
10 | +use SKAgarwal\GoogleApi\PlacesApi; |
|
11 | 11 | use BOTK\FactsFactory; |
12 | 12 | |
13 | 13 | class PostmanReasoningCommand extends Command |