Development

- Added check in `CsrfToken` class to ensure that IV generation is strong and secure.
- Minor optimisations mostly related to PHPDocs and PHPStorm code-inspection.
This commit is contained in:
Simon Sessingø
2017-05-09 02:49:41 +02:00
parent 50e8926272
commit 8901e7c125
5 changed files with 20 additions and 8 deletions
@@ -53,7 +53,7 @@ class RouteResource extends LoadableRoute implements IControllerRoute
/* Remove method/type */
if (strpos($name, '.') !== false) {
$name = substr($name, 0, strrpos($name, '.'));
$name = (string)substr($name, 0, strrpos($name, '.'));
}
return (strtolower($this->name) === strtolower($name));