]> git.mxchange.org Git - friendica.git/commitdiff
Fixed code-standards complain by php-cs, thanks to @MrPetovan
authorRoland Häder <roland@mxchange.org>
Tue, 25 Oct 2022 20:44:54 +0000 (22:44 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 25 Oct 2022 20:45:50 +0000 (22:45 +0200)
tests/src/Util/TemporalTest.php

index a2f76114d3472643be7035d083bad159881d009b..cfe1af5e231e1c84a4b43f9a277c81ba8697db46 100644 (file)
@@ -50,7 +50,9 @@ class TemporalTest extends TestCase
 
                // Format current date/time - 1 minute into "MySQL" format
                $minuteAgo = date('Y-m-d H:i:s', time() - 60);
-               $format = DI::l10n()->t('%1$d %2$s ago');
+               $format    = DI::l10n()->t('%1$d %2$s ago');
+
+               // Should be both equal
                self::assertEquals(
                        Temporal::getRelativeDate($minuteAgo),
                        sprintf($format, 1, DI::l10n()->t('minute'))