Apply fixes from StyleCI

This commit is contained in:
Nabeel Shahzad
2018-08-26 16:40:04 +00:00
committed by StyleCI Bot
parent 20f46adbc4
commit 9596d88b48
407 changed files with 4032 additions and 3286 deletions

View File

@@ -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);