Completed
Pull Request — master (#2168)
by Rico
11:42 queued 04:11
created
app/Http/Controllers/AdminSiteController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,8 @@
 block discarded – undo
55 55
      *
56 56
      * @param ModuleService $module_service
57 57
      */
58
-    public function __construct(ModuleService $module_service) {
58
+    public function __construct(ModuleService $module_service)
59
+    {
59 60
         $this->module_service = $module_service;
60 61
     }
61 62
 
Please login to merge, or discard this patch.
app/Statistics.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2591,7 +2591,7 @@
 block discarded – undo
2591 2591
         /** @var ModuleBlockInterface $module */
2592 2592
         $module = $this->module_service
2593 2593
             ->findByComponent('block', $this->tree, Auth::user())
2594
-            ->filter(function (ModuleInterface $module) use ($block): bool {
2594
+            ->filter(function (ModuleInterface $module) use ($block) : bool {
2595 2595
                 return $module->name() === $block && $module->name() !== 'html';
2596 2596
             })
2597 2597
             ->first();
Please login to merge, or discard this patch.
app/Contracts/UserInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      */
82 82
     public static function userFromTree(Tree $tree): User
83 83
     {
84
-        return  new static(0, '', $tree->title(),$tree->getPreference('WEBTREES_EMAIL'));
84
+        return  new static(0, '', $tree->title(), $tree->getPreference('WEBTREES_EMAIL'));
85 85
     }
86 86
 
87 87
     /**
Please login to merge, or discard this patch.