Development

- Better php7 support.
- Added easier way to debug router.
- Improvements and bugfixes.
- Updated documentation.
This commit is contained in:
Simon Sessingø
2018-03-26 23:43:27 +02:00
parent f23d569757
commit 085f98cf08
28 changed files with 847 additions and 233 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ interface ITokenProvider
* @param string $token
* @return bool
*/
public function validate($token): bool;
public function validate(string $token): bool;
/**
* Get token token
@@ -24,6 +24,6 @@ interface ITokenProvider
* @param string|null $defaultValue
* @return string|null
*/
public function getToken($defaultValue = null);
public function getToken(?string $defaultValue = null): ?string;
}