Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
20f46adbc4
commit
9596d88b48
@@ -8,12 +8,12 @@ use Module;
|
||||
|
||||
/**
|
||||
* Class AwardService
|
||||
* @package App\Services
|
||||
*/
|
||||
class AwardService extends Service
|
||||
{
|
||||
/**
|
||||
* Find any of the award classes
|
||||
*
|
||||
* @return \App\Interfaces\Award[]
|
||||
*/
|
||||
public function findAllAwardClasses(): array
|
||||
@@ -21,11 +21,11 @@ class AwardService extends Service
|
||||
$awards = [];
|
||||
$formatted_awards = [];
|
||||
|
||||
# Find the awards in the app/Awards directory
|
||||
// Find the awards in the app/Awards directory
|
||||
$classes = ClassLoader::getClassesInPath(app_path('/Awards'));
|
||||
$awards = array_merge($awards, $classes);
|
||||
|
||||
# Look throughout all the other modules, in the module/{MODULE}/Awards directory
|
||||
// Look throughout all the other modules, in the module/{MODULE}/Awards directory
|
||||
foreach (Module::all() as $module) {
|
||||
$path = $module->getExtraPath('Awards');
|
||||
$classes = ClassLoader::getClassesInPath($path);
|
||||
|
||||
Reference in New Issue
Block a user