Skip to content

Commit e572f3b

Browse files
author
rokde
committed
dependency updated
1 parent 95af086 commit e572f3b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": "^7.0",
2020
"guzzlehttp/guzzle": "~6.0",
2121
"laravel/passport": "~1.0",
22-
"ipunkt/laravel-package-manager": "^0.1.1"
22+
"ipunkt/laravel-package-manager": "^0.2.0"
2323
},
2424
"autoload": {
2525
"psr-4": {

src/OAuthIntrospectionServiceProvider.php

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ class OAuthIntrospectionServiceProvider extends PackageServiceProvider implement
1010
/**
1111
* returns routes.php file (absolute path)
1212
*
13-
* @return string
13+
* @return array|string[]
1414
*/
15-
public function routesFile()
15+
public function routesFiles()
1616
{
17-
return __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'routes' . DIRECTORY_SEPARATOR . 'web.php';
17+
return [
18+
__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'routes' . DIRECTORY_SEPARATOR . 'web.php'
19+
];
1820
}
1921

2022
/**

0 commit comments

Comments
 (0)