Skip to content

Commit 7e7ee8a

Browse files
committed
fixed php 7.1 incompatibilities
1 parent 84ed34a commit 7e7ee8a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Schema/Blueprint.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ public function geometry($column)
2121
/**
2222
* Add a point column on the table.
2323
*
24-
* @param $column
24+
* @param string $column
25+
* @param null|int $srid
2526
*
2627
* @return \Illuminate\Support\Fluent
2728
*/
28-
public function point($column)
29+
public function point($column, $srid = null)
2930
{
30-
return $this->addColumn('point', $column);
31+
return $this->addColumn('point', $column, compact('srid'));
3132
}
3233

3334
/**

0 commit comments

Comments
 (0)