Return type hint in findClassNameEndpoint method

Co-Authored-By: Guy Marriott <guy@scopey.co.nz>
This commit is contained in:
Sander Hagenaars 2019-07-08 08:36:24 +02:00 committed by GitHub
parent 9f00e167f9
commit eb72ae3c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -905,7 +905,7 @@ class RestfulServer extends Controller
* @param string $endpoint
* @return string
*/
protected function findClassNameEndpoint($endpoint)
protected function findClassNameEndpoint(string $endpoint): string
{
$aliases = self::config()->get('endpoint_aliases');