X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FDataFixtures%2FORM%2FLoadTaggingRuleData.php;h=2e1cc2700d20b4a7c51d39753c00429364c8af18;hb=f2e5fdc3666a2a6525b4202ab48df05efeebaf5c;hp=09a08bb20dc03d475ac2cc23b2fb56ce1c71e912;hpb=d25b8288216a09fa5cf7f40e614c133a6edd8a67;p=github%2Fwallabag%2Fwallabag.git 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 { $tr1 = new TaggingRule(); $tr1->setRule('content matches "spurs"'); - $tr1->setTags(array('sport')); + $tr1->setTags(['sport']); $tr1->setConfig($this->getReference('admin-config')); $manager->persist($tr1); $tr2 = new TaggingRule(); $tr2->setRule('content matches "basket"'); - $tr2->setTags(array('sport')); + $tr2->setTags(['sport']); $tr2->setConfig($this->getReference('admin-config')); $manager->persist($tr2);