Completed
Push — master ( d217d7...395774 )
by
unknown
26s queued 11s
created
Service/ContentLinkService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@
 block discarded – undo
112 112
         }
113 113
     }
114 114
 
115
+    /**
116
+     * @return DealerContent
117
+     */
115 118
     protected function hydrateObjectArray($data, $locale = null)
116 119
     {
117 120
         $model = new DealerContent();
Please login to merge, or discard this patch.
Service/FolderLinkService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
97 97
         }
98 98
     }
99 99
 
100
+    /**
101
+     * @return DealerFolder
102
+     */
100 103
     protected function hydrateObjectArray($data, $locale = null)
101 104
     {
102 105
         $model = new DealerFolder();
Please login to merge, or discard this patch.
Service/BrandLinkService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@
 block discarded – undo
113 113
         }
114 114
     }
115 115
 
116
+    /**
117
+     * @return DealerBrand
118
+     */
116 119
     protected function hydrateObjectArray($data, $locale = null)
117 120
     {
118 121
         $model = new DealerBrand();
Please login to merge, or discard this patch.
Service/ProductLinkService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@
 block discarded – undo
113 113
         }
114 114
     }
115 115
 
116
+    /**
117
+     * @return DealerProduct
118
+     */
116 119
     protected function hydrateObjectArray($data, $locale = null)
117 120
     {
118 121
         $model = new DealerProduct();
Please login to merge, or discard this patch.
Controller/Base/BaseController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,12 +15,10 @@
 block discarded – undo
15 15
 
16 16
 use Dealer\Dealer;
17 17
 use Dealer\Model\DealerQuery;
18
-use Propel\Generator\Model\Database;
19 18
 use Propel\Runtime\Propel;
20 19
 use Symfony\Component\HttpFoundation\RedirectResponse;
21 20
 use Thelia\Controller\Admin\BaseAdminController;
22 21
 use Thelia\Core\Security\AccessManager;
23
-use Thelia\Core\Security\Resource\AdminResources;
24 22
 use Thelia\Core\Thelia;
25 23
 use Thelia\Form\Exception\FormValidationException;
26 24
 use Thelia\Tools\URL;
Please login to merge, or discard this patch.
Service/AdminLinkService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@
 block discarded – undo
113 113
         }
114 114
     }
115 115
 
116
+    /**
117
+     * @return DealerAdmin
118
+     */
116 119
     protected function hydrateObjectArray($data, $locale = null)
117 120
     {
118 121
         $model = new DealerAdmin();
Please login to merge, or discard this patch.
Controller/SchedulesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use Propel\Runtime\Propel;
20 20
 use Symfony\Component\HttpFoundation\RedirectResponse;
21 21
 use Thelia\Core\Security\AccessManager;
22
-use Thelia\Core\Security\Resource\AdminResources;
23 22
 use Thelia\Form\Exception\FormValidationException;
24 23
 use Thelia\Tools\URL;
25 24
 
Please login to merge, or discard this patch.
Service/SchedulesService.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
         $event->getDealerSchedules()->delete();
57 57
     }
58 58
 
59
+    /**
60
+     * @param string $locale
61
+     */
59 62
     public function createFromArray($data, $locale = null)
60 63
     {
61 64
         $dealer_schedules = $this->hydrateObjectArray($data, $locale);
@@ -81,6 +84,9 @@  discard block
 block discarded – undo
81 84
         return $event->getDealerSchedules();
82 85
     }
83 86
 
87
+    /**
88
+     * @param string $locale
89
+     */
84 90
     public function updateFromArray($data, $locale = null)
85 91
     {
86 92
         $dealer_schedules = $this->hydrateObjectArray($data, $locale);
@@ -105,6 +111,9 @@  discard block
 block discarded – undo
105 111
         }
106 112
     }
107 113
 
114
+    /**
115
+     * @return DealerShedules
116
+     */
108 117
     protected function hydrateObjectArray($data, $locale = null)
109 118
     {
110 119
         $model = new DealerShedules();
@@ -321,7 +330,6 @@  discard block
 block discarded – undo
321 330
      * @param $idDealer
322 331
      * @param $numDay
323 332
      * @param $date
324
-     * @param null $delay
325 333
      * @return array
326 334
      * @throws \Propel\Runtime\Exception\PropelException
327 335
      */
Please login to merge, or discard this patch.
Commands/UpdateDealerTables.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 
6 6
 
7 7
 use Dealer\Service\UpdateTablesService;
8
-use Symfony\Component\Console\Input\InputArgument;
9 8
 use Symfony\Component\Console\Input\InputInterface;
10 9
 use Symfony\Component\Console\Output\OutputInterface;
11 10
 use Thelia\Command\ContainerAwareCommand;
Please login to merge, or discard this patch.