aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-13 09:43:14 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-13 09:43:14 +0200
commitf2e5fdc3666a2a6525b4202ab48df05efeebaf5c (patch)
treef559474e248a33c472fe0b260641866be5c0def3 /src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php
parenta417b869237763ee115982d6367a82aa6174d74e (diff)
parent86732aa01cf0ad0fb5279f38ce75a9bedbbb66e1 (diff)
downloadwallabag-f2e5fdc3666a2a6525b4202ab48df05efeebaf5c.tar.gz
wallabag-f2e5fdc3666a2a6525b4202ab48df05efeebaf5c.tar.zst
wallabag-f2e5fdc3666a2a6525b4202ab48df05efeebaf5c.zip
Merge pull request #1916 from wallabag/cleanup
Convert array + phpDoc
Diffstat (limited to 'src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php')
-rw-r--r--src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php4
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);