Completed
Pull Request — development (#812)
by
unknown
12:05
created
htdocs_symfony/src/Controller/Backend/CachesController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -10,14 +10,9 @@
 block discarded – undo
10 10
 use Symfony\Component\HttpFoundation\Request;
11 11
 use Symfony\Component\HttpFoundation\Response;
12 12
 use Symfony\Component\Routing\Annotation\Route;
13
-use Oc\Repository\Exception\RecordAlreadyExistsException;
14
-use Oc\Repository\Exception\RecordNotFoundException;
15
-use Oc\Repository\Exception\RecordNotPersistedException;
16
-use Oc\Repository\Exception\RecordsNotFoundException;
17 13
 use Oc\Repository\CachesRepository;
18 14
 use Oc\Repository\UserRepository;
19 15
 use Oc\Repository\SecurityRolesRepository;
20
-use Oc\Entity\CachesEntity;
21 16
 
22 17
 class CachesController extends AbstractController
23 18
 {
Please login to merge, or discard this patch.
htdocs_symfony/src/Entity/CachesEntity.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
         return $this->cache_id;
75 75
     }
76 76
 
77
+    /**
78
+     * @param integer $arg
79
+     */
77 80
     public function setCacheId($arg)
78 81
     {
79 82
         $this->cache_id = $arg;
@@ -85,6 +88,9 @@  discard block
 block discarded – undo
85 88
         return $this->name;
86 89
     }
87 90
 
91
+    /**
92
+     * @param string $arg
93
+     */
88 94
     public function setName($arg)
89 95
     {
90 96
         $this->name = $arg;
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/CachesRepository.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\DBAL\Connection;
6 6
 use Oc\Entity\CachesEntity;
7
-use Oc\Repository\Exception\RecordAlreadyExistsException;
8
-use Oc\Repository\Exception\RecordNotFoundException;
9
-use Oc\Repository\Exception\RecordNotPersistedException;
10 7
 use Oc\Repository\Exception\RecordsNotFoundException;
11 8
 
12 9
 class CachesRepository
Please login to merge, or discard this patch.