Got rid of all IoC::container() calls
This commit is contained in:
@@ -149,7 +149,7 @@ class Form {
|
||||
*/
|
||||
public static function token()
|
||||
{
|
||||
$token = IoC::container()->core('session')->token();
|
||||
$token = IoC::core('session')->token();
|
||||
|
||||
return static::input('hidden', 'csrf_token', $token);
|
||||
}
|
||||
@@ -540,4 +540,4 @@ class Form {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user