diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-04-12 11:36:01 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-04-12 12:25:29 +0200 |
commit | 4094ea47712efbe58624ff74daeb1f77c9b0edcf (patch) | |
tree | 3d2c168092d0208e6ba888de969252a54bf0c6c1 /src/Wallabag/ImportBundle/Controller/WallabagController.php | |
parent | 7eccbda99f16dc39ee01a0c81ab88293e9b268fd (diff) | |
download | wallabag-4094ea47712efbe58624ff74daeb1f77c9b0edcf.tar.gz wallabag-4094ea47712efbe58624ff74daeb1f77c9b0edcf.tar.zst wallabag-4094ea47712efbe58624ff74daeb1f77c9b0edcf.zip |
Convert array + phpDoc
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
Diffstat (limited to 'src/Wallabag/ImportBundle/Controller/WallabagController.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Controller/WallabagController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/ImportBundle/Controller/WallabagController.php b/src/Wallabag/ImportBundle/Controller/WallabagController.php index 01883d4a..76ced0d2 100644 --- a/src/Wallabag/ImportBundle/Controller/WallabagController.php +++ b/src/Wallabag/ImportBundle/Controller/WallabagController.php | |||
@@ -55,10 +55,10 @@ abstract class WallabagController extends Controller | |||
55 | 55 | ||
56 | if (true === $res) { | 56 | if (true === $res) { |
57 | $summary = $wallabag->getSummary(); | 57 | $summary = $wallabag->getSummary(); |
58 | $message = $this->get('translator')->trans('flashes.import.notice.summary', array( | 58 | $message = $this->get('translator')->trans('flashes.import.notice.summary', [ |
59 | '%imported%' => $summary['imported'], | 59 | '%imported%' => $summary['imported'], |
60 | '%skipped%' => $summary['skipped'], | 60 | '%skipped%' => $summary['skipped'], |
61 | )); | 61 | ]); |
62 | 62 | ||
63 | unlink($this->getParameter('wallabag_import.resource_dir').'/'.$name); | 63 | unlink($this->getParameter('wallabag_import.resource_dir').'/'.$name); |
64 | } | 64 | } |