Completed
Pull Request — master (#574)
by Rafał
10:31
created
src/SWP/Bundle/FixturesBundle/AbstractFixture.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @param $paths
54
+     * @param string[] $paths
55 55
      *
56 56
      * @return mixed
57 57
      */
@@ -100,6 +100,11 @@  discard block
 block discarded – undo
100 100
         return $this->getTenantPrefix(self::DEFAULT_TENANT_DOMAIN).'/'.ltrim($id, '/');
101 101
     }
102 102
 
103
+    /**
104
+     * @param string $id
105
+     *
106
+     * @return null|\SWP\Bundle\ContentBundle\Model\RouteInterface
107
+     */
103 108
     public function getRouteByName($id)
104 109
     {
105 110
         return $this->container->get('swp.provider.route')->getRouteByName($id);
@@ -108,7 +113,7 @@  discard block
 block discarded – undo
108 113
     /**
109 114
      * Gets current tenant's prefix.
110 115
      *
111
-     * @param string $subdomain
116
+     * @param string $domain
112 117
      *
113 118
      * @return string
114 119
      */
Please login to merge, or discard this patch.