[-] Classes : all classes and controllers now use their name in static calls instead of self (improve override) #PSFV-376
This commit is contained in:
1 parent
60d466b2f7
commit
eee9b353c1
82 files changed
+432
-431
No files matched your search
@@ -267,7 +267,7 @@ class AdminStockCoverControllerCore extends AdminController
|
||||
*
|
||||
* @return int coverage period
|
||||
*/
|
||||
private function getCurrentCoveragePeriod()
|
||||
protected function getCurrentCoveragePeriod()
|
||||
{
|
||||
static $coverage_period = 0;
|
||||
|
||||
@@ -285,7 +285,7 @@ class AdminStockCoverControllerCore extends AdminController
|
||||
*
|
||||
* @return int id_warehouse
|
||||
*/
|
||||
private function getCurrentCoverageWarehouse()
|
||||
protected function getCurrentCoverageWarehouse()
|
||||
{
|
||||
static $warehouse = 0;
|
||||
|
||||
@@ -303,7 +303,7 @@ class AdminStockCoverControllerCore extends AdminController
|
||||
*
|
||||
* @return int warn_days
|
||||
*/
|
||||
private function getCurrentWarning()
|
||||
protected function getCurrentWarning()
|
||||
{
|
||||
static $warning = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user