diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php')
-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); |