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/CoreBundle/DataFixtures/ORM | |
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/CoreBundle/DataFixtures/ORM')
-rw-r--r-- | src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php index 09a08bb2..2e1cc270 100644 --- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php +++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php | |||
@@ -16,14 +16,14 @@ class LoadTaggingRuleData extends AbstractFixture implements OrderedFixtureInter | |||
16 | { | 16 | { |
17 | $tr1 = new TaggingRule(); | 17 | $tr1 = new TaggingRule(); |
18 | $tr1->setRule('content matches "spurs"'); | 18 | $tr1->setRule('content matches "spurs"'); |
19 | $tr1->setTags(array('sport')); | 19 | $tr1->setTags(['sport']); |
20 | $tr1->setConfig($this->getReference('admin-config')); | 20 | $tr1->setConfig($this->getReference('admin-config')); |
21 | 21 | ||
22 | $manager->persist($tr1); | 22 | $manager->persist($tr1); |
23 | 23 | ||
24 | $tr2 = new TaggingRule(); | 24 | $tr2 = new TaggingRule(); |
25 | $tr2->setRule('content matches "basket"'); | 25 | $tr2->setRule('content matches "basket"'); |
26 | $tr2->setTags(array('sport')); | 26 | $tr2->setTags(['sport']); |
27 | $tr2->setConfig($this->getReference('admin-config')); | 27 | $tr2->setConfig($this->getReference('admin-config')); |
28 | 28 | ||
29 | $manager->persist($tr2); | 29 | $manager->persist($tr2); |