Skip to content

Commit

Permalink
Fixed auto-generation passing an incorrect type, causing failure
Browse files Browse the repository at this point in the history
Auto-generation should now succeed more frequently.
  • Loading branch information
gbrock committed May 14, 2015
1 parent 9e86f58 commit 4c8c15a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Table.php
Expand Up @@ -34,10 +34,10 @@ public function __construct($models = [], $columns = [])
* Static way to generate a new instance of this class.
*
* @param $rows
* @param bool $columns
* @param mixed $columns
* @return static
*/
public function create($rows, $columns = false)
public function create($rows, $columns = [])
{
$table = new static($rows, $columns);

Expand Down

0 comments on commit 4c8c15a

Please sign in to comment.