@@ -72,6 +72,10 @@ discard block |
||
72 | 72 | } |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param OutputInterface $output |
|
77 | + * @param integer $verse |
|
78 | + */ |
|
75 | 79 | private function chapter($output, $verse) |
76 | 80 | { |
77 | 81 | $surah = $this->quran->getSource()->surah($verse); |
@@ -97,6 +101,9 @@ discard block |
||
97 | 101 | $table->render(); |
98 | 102 | } |
99 | 103 | |
104 | + /** |
|
105 | + * @param OutputInterface $output |
|
106 | + */ |
|
100 | 107 | private function chapters($output) |
101 | 108 | { |
102 | 109 | $surah = $this->quran->getSource()->chapters(); |
@@ -113,6 +120,9 @@ discard block |
||
113 | 120 | $table->render(); |
114 | 121 | } |
115 | 122 | |
123 | + /** |
|
124 | + * @param integer $columns |
|
125 | + */ |
|
116 | 126 | private function array_chunk_vertical($data, $columns) |
117 | 127 | { |
118 | 128 | $n = count($data); |
@@ -140,7 +150,7 @@ discard block |
||
140 | 150 | * @param InputInterface $input |
141 | 151 | * @param OutputInterface $output |
142 | 152 | * |
143 | - * @return int|null |
|
153 | + * @return integer |
|
144 | 154 | * |
145 | 155 | * @throws SurahInvalid |
146 | 156 | */ |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace FaizShukri\Quran\Commands; |
4 | 4 | |
5 | +use FaizShukri\Quran\Exceptions\SurahInvalid; |
|
5 | 6 | use FaizShukri\Quran\Quran; |
6 | 7 | use FaizShukri\Quran\Supports\Levenshtein; |
7 | -use FaizShukri\Quran\Exceptions\SurahInvalid; |
|
8 | +use Symfony\Component\Console\Command\Command; |
|
8 | 9 | use Symfony\Component\Console\Helper\Table; |
9 | 10 | use Symfony\Component\Console\Helper\TableCell; |
10 | -use Symfony\Component\Console\Command\Command; |
|
11 | 11 | use Symfony\Component\Console\Input\InputArgument; |
12 | 12 | use Symfony\Component\Console\Input\InputInterface; |
13 | 13 | use Symfony\Component\Console\Output\OutputInterface; |