Skip to content

Commit d8306c9

Browse files
authored
Fix typo in Blueprint datetime => dateTime (#55859)
It still works, because of php case sensitive rules, but it's better correct.
1 parent 7f20c61 commit d8306c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Database/Schema/Blueprint.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,9 +1282,9 @@ public function timestampsTz($precision = null)
12821282
*/
12831283
public function datetimes($precision = null)
12841284
{
1285-
$this->datetime('created_at', $precision)->nullable();
1285+
$this->dateTime('created_at', $precision)->nullable();
12861286

1287-
$this->datetime('updated_at', $precision)->nullable();
1287+
$this->dateTime('updated_at', $precision)->nullable();
12881288
}
12891289

12901290
/**
@@ -1320,7 +1320,7 @@ public function softDeletesTz($column = 'deleted_at', $precision = null)
13201320
*/
13211321
public function softDeletesDatetime($column = 'deleted_at', $precision = null)
13221322
{
1323-
return $this->datetime($column, $precision)->nullable();
1323+
return $this->dateTime($column, $precision)->nullable();
13241324
}
13251325

13261326
/**

0 commit comments

Comments
 (0)