| @@ -6,8 +6,9 @@ | ||
| 6 | 6 | * |
| 7 | 7 | * @copyright Copyright (c) 2018 Mark Baker (https://github.com/MarkBaker/PHPMatrix) |
| 8 | 8 | * @license https://opensource.org/licenses/MIT MIT |
| 9 | 9 | */ |
| 10 | + | |
| 10 | 11 | namespace Matrix; |
| 11 | 12 | |
| 12 | 13 | /** |
| 13 | 14 | * Matrix Builder class. |
| @@ -19,11 +20,11 @@ | ||
| 19 | 20 | /** |
| 20 | 21 | * Create a new matrix of specified dimensions, and filled with a specified value |
| 21 | 22 | * If the column argument isn't provided, then a square matrix will be created |
| 22 | 23 | * |
| 23 | - * @param $value | |
| 24 | - * @param $rows | |
| 25 | - * @param null $columns | |
| 24 | + * @param mixed $value | |
| 25 | + * @param int $rows | |
| 26 | + * @param int|null $columns | |
| 26 | 27 | * @return Matrix |
| 27 | 28 | * @throws Exception |
| 28 | 29 | */ |
| 29 | 30 | public static function createFilledMatrix($value, $rows, $columns = null) |