Skip to content

Commit

Permalink
CodeStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Jun 1, 2021
1 parent db39ef3 commit 77c72ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Services/ModuleService.php
Expand Up @@ -588,7 +588,7 @@ public function findByComponent(string $interface, Tree $tree, UserInterface $us
*
* @return Collection<ModuleInterface>
*/
public function findByInterface(string $interface, $include_disabled = false, $sort = false): Collection
public function findByInterface(string $interface, bool $include_disabled = false, bool $sort = false): Collection
{
$modules = $this->all($include_disabled)
->filter($this->interfaceFilter($interface));
Expand Down Expand Up @@ -741,9 +741,9 @@ private function customModules(): Collection
*
* @param string $filename
*
* @return mixed
* @return ModuleInterface|null
*/
private static function load(string $filename)
private static function load(string $filename): ?ModuleInterface
{
try {
return include $filename;
Expand Down

0 comments on commit 77c72ee

Please sign in to comment.