Skip to content

Commit 3058879

Browse files
authored
Update Versionable.php
Shouldn't that be testing for a class constant called LATEST_VERSION?
1 parent 79e579b commit 3058879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Versionable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function getQualifiedVersionKeyName()
8787
*/
8888
public function getLatestVersionColumn()
8989
{
90-
return defined('static::VERSION') ? static::LATEST_VERSION : 'latest_version';
90+
return defined('static::LATEST_VERSION') ? static::LATEST_VERSION : 'latest_version';
9191
}
9292

9393
/**

0 commit comments

Comments
 (0)