mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
Skip decrement/increment
They are a bit weird.
This commit is contained in:
+4
-1
@@ -53,7 +53,10 @@ class Alias
|
|||||||
$this->addClass($this->root);
|
$this->addClass($this->root);
|
||||||
$this->detectNamespace();
|
$this->detectNamespace();
|
||||||
$this->detectClassType();
|
$this->detectClassType();
|
||||||
|
|
||||||
|
if($facade === '\Illuminate\Database\Eloquent\Model'){
|
||||||
|
$this->usedMethods = array('decrement', 'increment');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user