Skip to content

Commit b2d8d4f

Browse files
committed
php-cs-fixer
1 parent d7f49e6 commit b2d8d4f

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

src/Extractors/Jed.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ public static function fromString($string, Translations $translations = null, $f
2424
}
2525

2626
/**
27-
* Extract and insert a new translation
27+
* Extract and insert a new translation.
2828
*
2929
* @param Translations $translations
30-
* @param string $key
31-
* @param string $message
30+
* @param string $key
31+
* @param string $message
3232
*/
3333
protected static function insertTranslation(Translations $translations, $key, $message)
3434
{

src/Extractors/Mo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
namespace Gettext\Extractors;
34

45
use Exception;
@@ -135,4 +136,3 @@ private static function readIntArray(StringReader $stream, $byteOrder, $count)
135136
return unpack($byteOrder.$count, $stream->read(4 * $count));
136137
}
137138
}
138-

src/Extractors/PhpArray.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ public static function handleArray(array $content, Translations $translations)
6262
}
6363

6464
/**
65-
* Extract and insert a new translation
65+
* Extract and insert a new translation.
6666
*
6767
* @param Translations $translations
68-
* @param string $key
69-
* @param string $message
68+
* @param string $key
69+
* @param string $message
7070
*/
7171
protected static function insertTranslation(Translations $translations, $key, $message)
7272
{

src/Extractors/PhpCode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static function fromString($string, Translations $translations = null, $f
3030

3131
$functions = new PhpFunctionsScanner($string);
3232
$functions->saveGettextFunctions(self::$functions, $translations, $file);
33-
33+
3434
return $translations;
3535
}
3636
}

src/Generators/Jed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static function toString(Translations $translations)
1717
}
1818

1919
/**
20-
* {@parentdoc}
20+
* {@parentdoc}.
2121
*/
2222
protected static function buildArray(Translations $translations)
2323
{

src/Generators/PhpArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function toArray(Translations $translations)
5050
}
5151

5252
/**
53-
* Generates an array with all translations
53+
* Generates an array with all translations.
5454
*
5555
* @param Translations $translations
5656
*

src/Utils/JsFunctionsScanner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ protected function status($match = null)
172172
$status = isset($this->status[0]) ? $this->status[0] : null;
173173

174174
if ($match) {
175-
return ($status === $match);
175+
return $status === $match;
176176
}
177177

178178
return $status;

0 commit comments

Comments
 (0)