add check version and refactpr auto update

This commit is contained in:
jayvirsinh_gohil
2019-11-14 21:00:17 +05:30
parent 0d9ca2a0fd
commit 917b618ac7
7 changed files with 37 additions and 19 deletions

View File

@ -14,8 +14,6 @@ class UpdateFinished
{
use Dispatchable;
public $alias;
public $new;
public $old;
@ -25,9 +23,8 @@ class UpdateFinished
*
* @return void
*/
public function __construct($alias, $old, $new)
public function __construct($old, $new)
{
$this->alias = $alias;
$this->old = $old;
$this->new = $new;
}