summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-10-27 14:00:32 +0100
committerGreg Roach <greg@subaqua.co.uk>2021-10-27 14:07:25 +0100
commit2ebcf907ed34213f816592af04e6c160335d6311 (patch)
tree001ac2c290d688c2858c2f919d2440a0191e19ef /app
parent01df94bfbd7e5ecc5eabf18fc10dc996c66c528c (diff)
downloadwebtrees-2ebcf907ed34213f816592af04e6c160335d6311.tar.gz
webtrees-2ebcf907ed34213f816592af04e6c160335d6311.tar.bz2
webtrees-2ebcf907ed34213f816592af04e6c160335d6311.zip
CodeStyle
Diffstat (limited to 'app')
-rw-r--r--app/Contracts/SourceFactoryInterface.php1
-rw-r--r--app/Elements/AbstractElement.php2
-rw-r--r--app/Module/ModuleListInterface.php1
-rw-r--r--app/View.php2
4 files changed, 2 insertions, 4 deletions
diff --git a/app/Contracts/SourceFactoryInterface.php b/app/Contracts/SourceFactoryInterface.php
index dea6acd58f..736172380a 100644
--- a/app/Contracts/SourceFactoryInterface.php
+++ b/app/Contracts/SourceFactoryInterface.php
@@ -28,7 +28,6 @@ use Fisharebest\Webtrees\Tree;
*/
interface SourceFactoryInterface
{
-
/**
* Create a source.
*
diff --git a/app/Elements/AbstractElement.php b/app/Elements/AbstractElement.php
index 3bf85df44e..754cdada22 100644
--- a/app/Elements/AbstractElement.php
+++ b/app/Elements/AbstractElement.php
@@ -120,7 +120,7 @@ abstract class AbstractElement implements ElementInterface
}
// We may use markup to display values, but not when editing them.
- $values = array_map(fn(string $x): string => strip_tags($x), $values);
+ $values = array_map(fn (string $x): string => strip_tags($x), $values);
return view('components/select', [
'id' => $id,
diff --git a/app/Module/ModuleListInterface.php b/app/Module/ModuleListInterface.php
index 3653386d8b..a014850a70 100644
--- a/app/Module/ModuleListInterface.php
+++ b/app/Module/ModuleListInterface.php
@@ -27,7 +27,6 @@ use Fisharebest\Webtrees\Tree;
*/
interface ModuleListInterface extends ModuleInterface
{
-
/**
* A main menu item for this list, or null if the list is empty.
*
diff --git a/app/View.php b/app/View.php
index a0aa070490..b2d97aa436 100644
--- a/app/View.php
+++ b/app/View.php
@@ -257,7 +257,7 @@ class View
[$namespace, $view_name] = explode(self::NAMESPACE_SEPARATOR, $view_name, 2);
if ((self::$namespaces[$namespace] ?? null) === null) {
- throw new RuntimeException('Namespace "' . e($namespace) . '" not found.');
+ throw new RuntimeException('Namespace "' . e($namespace) . '" not found.');
}
$view_file = self::$namespaces[$namespace] . $view_name . self::TEMPLATE_EXTENSION;