mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update artisan commands PHPDOC blocks
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user