Update artisan commands PHPDOC blocks

This commit is contained in:
DariusIII
2018-11-20 13:58:31 +01:00
parent d6e254554f
commit 21ccfeaaae
5 changed files with 18 additions and 11 deletions
+2 -2
View File
@@ -138,11 +138,11 @@ class InstallNntmux extends Command
/**
* @return bool
* @throws \Cz\Git\GitException
*/
private function updatePatch(): bool
{
$ver = new Versions();
$patch = $ver->getSQLPatchFromFile();
$patch = (new Versions())->getSQLPatchFromFile();
$updateSettings = false;
if ($patch > 0) {
$updateSettings = Settings::query()->where(['section' => '', 'subsection' => '', 'name' => 'sqlpatch'])->update(['value' => $patch]);