Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
preset: PSR2
preset: psr2

finder:
exclude:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ See [`example`](example) directory for sources.

`example\example.php`
```php
<pre><?php
<?php

use DElfimov\Translate\Translate;
use DElfimov\Translate\Loader\PhpFilesLoader;
Expand Down Expand Up @@ -75,7 +75,7 @@ echo $t->t('some string')."\n\n"; // or $t('some string');
echo $t->plural('%d liters', $num) . "\n\n";
echo $t->plural("The %s contains %d monkeys", $num, ['tree', $num]) . "\n\n";

?></pre>
?>
```

`example\messages\en\messages.php`
Expand Down
1 change: 0 additions & 1 deletion src/Loader/LoaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/
interface LoaderInterface extends ContainerInterface
{

/**
* Determines whether a language is available.
* @param string $language language code
Expand Down
1 change: 0 additions & 1 deletion src/Loader/PhpArrayLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/
class PhpArrayLoader implements LoaderInterface
{

/**
* Messages container
*
Expand Down