Skip to content

Commit a03c3f4

Browse files
Merge pull request antonioribeiro#3 from tekreme73/master
Add compatibility with Laravel Nova 2.0
2 parents eeaaae3 + df310e8 commit a03c3f4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
],
88
"license": "MIT",
99
"require": {
10-
"php": ">=7.1.0"
10+
"php": ">=7.1.0",
11+
"laravel/nova": "*"
1112
},
1213
"autoload": {
1314
"psr-4": {

src/BooleanDatetime.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function format($format)
163163
*
164164
* @return $this
165165
*/
166-
public function nullable()
166+
public function nullable($nullable = true, $values = NULL)
167167
{
168168
return $this->withMeta([__FUNCTION__ => true]);
169169
}

0 commit comments

Comments
 (0)