Completed
Push — master ( 9278f3...6933e0 )
by Benjamin
05:11 queued 02:31
created
Entity/Menu.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -87,6 +87,7 @@  discard block
 block discarded – undo
87 87
      * Set the machineName the key for querying a menu.
88 88
      *
89 89
      * @param string
90
+     * @param string $machineName
90 91
      *
91 92
      * @return self
92 93
      */
@@ -100,7 +101,7 @@  discard block
 block discarded – undo
100 101
     /**
101 102
      * Get the name the value displayed to the administrator.
102 103
      *
103
-     * @return self
104
+     * @return string
104 105
      */
105 106
     public function getName()
106 107
     {
@@ -110,6 +111,7 @@  discard block
 block discarded – undo
110 111
     /**
111 112
      * Set the name the value displayed to the administrator.
112 113
      *
114
+     * @param string $name
113 115
      * @return self
114 116
      */
115 117
     public function setName($name)
@@ -167,9 +169,9 @@  discard block
 block discarded – undo
167 169
     /**
168 170
      * Set items for the menu.
169 171
      * @deprecated
170
-     * @param null\ItemInterface $item
172
+     * @param ItemInterface $item
171 173
      *
172
-     * @return Item
174
+     * @return Menu
173 175
      */
174 176
     public function setItem(ItemInterface $item)
175 177
     {
@@ -179,9 +181,9 @@  discard block
 block discarded – undo
179 181
     /**
180 182
      * Set items for the menu.
181 183
      *
182
-     * @param null\ItemInterface $item
184
+     * @param ItemInterface $item
183 185
      *
184
-     * @return Item
186
+     * @return Menu
185 187
      */
186 188
     public function addItem(ItemInterface $item)
187 189
     {
@@ -204,6 +206,7 @@  discard block
 block discarded – undo
204 206
     /**
205 207
      * Set the locale language.
206 208
      *
209
+     * @param string $locale
207 210
      * @return self
208 211
      */
209 212
     public function setLocale($locale)
Please login to merge, or discard this patch.
DataFixtures/ORM/LoadMenuData.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
         $menu = new Menu();
17 17
         $menu->setMachineName('main');
18 18
         $menu->setName('Menu principal');
19
-	    $menu->setLocale('fr');
19
+        $menu->setLocale('fr');
20 20
 
21
-	    $item = new Item;
21
+        $item = new Item;
22 22
         $item->setUri('/');
23 23
         $item->setName('Homepage');
24 24
 
Please login to merge, or discard this patch.