Passed
Push — develop ( f80662...f7f0fb )
by nguereza
06:10
created
src/Config/DatabaseConfigLoader.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class DatabaseConfigLoader
55 55
  * @package Platine\Framework\Config
56 56
  */
57
-class DatabaseConfigLoader implements DatabaseConfigLoaderInterface
58
-{
57
+class DatabaseConfigLoader implements DatabaseConfigLoaderInterface {
59 58
     /**
60 59
      * The Repository instance
61 60
      * @var ConfigurationRepositoryInterface
@@ -67,8 +66,7 @@  discard block
 block discarded – undo
67 66
      * Create new instance
68 67
      * @param ConfigurationRepositoryInterface $repository
69 68
      */
70
-    public function __construct(ConfigurationRepositoryInterface $repository)
71
-    {
69
+    public function __construct(ConfigurationRepositoryInterface $repository) {
72 70
         $this->repository = $repository;
73 71
     }
74 72
 
@@ -91,8 +89,7 @@  discard block
 block discarded – undo
91 89
     /**
92 90
      * {@inheritdoc}
93 91
      */
94
-    public function insertConfig(array $data)
95
-    {
92
+    public function insertConfig(array $data) {
96 93
         $entity = $this->repository->create($data);
97 94
         return $this->repository->insert($entity);
98 95
     }
Please login to merge, or discard this patch.
src/Config/Model/ConfigurationRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,14 +56,12 @@
 block discarded – undo
56 56
  * @package Platine\Framework\Config\Model
57 57
  * @extends Repository<Configuration>
58 58
  */
59
-class ConfigurationRepository extends Repository implements ConfigurationRepositoryInterface
60
-{
59
+class ConfigurationRepository extends Repository implements ConfigurationRepositoryInterface {
61 60
     /**
62 61
      * Create new instance
63 62
      * @param EntityManager<Configuration> $manager
64 63
      */
65
-    public function __construct(EntityManager $manager)
66
-    {
64
+    public function __construct(EntityManager $manager) {
67 65
         parent::__construct($manager, Configuration::class);
68 66
     }
69 67
 }
Please login to merge, or discard this patch.
src/Config/ConfigurationRepositoryInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@
 block discarded – undo
53 53
  * @class ConfigurationRepositoryInterface
54 54
  * @package Platine\Framework\Config
55 55
  */
56
-interface ConfigurationRepositoryInterface extends RepositoryInterface
57
-{
56
+interface ConfigurationRepositoryInterface extends RepositoryInterface {
58 57
     
59 58
 }
Please login to merge, or discard this patch.