mirror of
https://github.com/silverstripe/silverstripe-restfulserver
synced 2024-06-14 00:39:11 +02:00
Return type hint in findClassNameEndpoint method
Co-Authored-By: Guy Marriott <guy@scopey.co.nz>
This commit is contained in:
parent
9f00e167f9
commit
eb72ae3c7d
|
@ -905,7 +905,7 @@ class RestfulServer extends Controller
|
||||||
* @param string $endpoint
|
* @param string $endpoint
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function findClassNameEndpoint($endpoint)
|
protected function findClassNameEndpoint(string $endpoint): string
|
||||||
{
|
{
|
||||||
$aliases = self::config()->get('endpoint_aliases');
|
$aliases = self::config()->get('endpoint_aliases');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user