Passed
Push — snyk-fix-a7ffc9795c22fef729062... ( 82e92b...3b82ae )
by Greg
13:47 queued 08:15
created
app/Http/Controllers/Admin/ChangesLogController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
                 '<div class="gedcom-data" dir="ltr">' .
193 193
                 preg_replace_callback(
194 194
                     '/@(' . Gedcom::REGEX_XREF . ')@/',
195
-                    static function (array $match) use ($tree): string {
195
+                    static function (array $match) use ($tree) : string {
196 196
                         $record = GedcomRecord::getInstance($match[1], $tree);
197 197
 
198 198
                         return $record ? '<a href="' . e($record->url()) . '">' . $match[0] . '</a>' : $match[0];
Please login to merge, or discard this patch.
modules_v4/example-server-configuration.disable/module.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,8 @@
 block discarded – undo
12 12
  * An example module to modify PHP and database configuration.
13 13
  */
14 14
 
15
-return new class extends AbstractModule implements ModuleCustomInterface {
15
+return new class extends AbstractModule implements ModuleCustomInterface
16
+{
16 17
     use ModuleCustomTrait;
17 18
 
18 19
     /** @var ServerCheckService */
Please login to merge, or discard this patch.
modules_v4/example-theme.disable/module.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,8 @@
 block discarded – undo
12 12
  * Instead, you could extend AbstractModule and implement ModuleThemeInterface directly.
13 13
  */
14 14
 
15
-return new class extends MinimalTheme implements ModuleCustomInterface {
15
+return new class extends MinimalTheme implements ModuleCustomInterface
16
+{
16 17
     use ModuleCustomTrait;
17 18
 
18 19
     /**
Please login to merge, or discard this patch.
modules_v4/example.disable/module.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@
 block discarded – undo
14 14
  * Example module
15 15
  */
16 16
 
17
-return new class extends AbstractModule implements ModuleCustomInterface {
17
+return new class extends AbstractModule implements ModuleCustomInterface
18
+{
18 19
     use ModuleCustomTrait;
19 20
 
20 21
     /**
Please login to merge, or discard this patch.