Test Failed
Push — develop ( ddb817...815500 )
by nguereza
02:28
created
src/Demo/Action/User/EditAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@
 block discarded – undo
22 22
  *
23 23
  * @author tony
24 24
  */
25
-class EditAction implements RequestHandlerInterface
26
-{
25
+class EditAction implements RequestHandlerInterface {
27 26
 
28 27
     protected LoggerInterface $logger;
29 28
     protected Session $session;
Please login to merge, or discard this patch.
src/Demo/Action/User/DeleteAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@
 block discarded – undo
16 16
  *
17 17
  * @author tony
18 18
  */
19
-class DeleteAction implements RequestHandlerInterface
20
-{
19
+class DeleteAction implements RequestHandlerInterface {
21 20
 
22 21
     protected LoggerInterface $logger;
23 22
     protected UserRepository $userRepository;
Please login to merge, or discard this patch.
src/Demo/Form/Param/UserParam.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Platine\Orm\Entity;
6 6
 
7
-class UserParam extends BaseParam
8
-{
7
+class UserParam extends BaseParam {
9 8
     protected string $username = '';
10 9
     protected string $lastname = '';
11 10
     protected string $firstname = '';
Please login to merge, or discard this patch.
src/Demo/Form/Param/BaseParam.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,15 +11,13 @@  discard block
 block discarded – undo
11 11
 use Platine\Orm\Entity;
12 12
 use Platine\Stdlib\Helper\Str;
13 13
 
14
-class BaseParam
15
-{
14
+class BaseParam {
16 15
 
17 16
     /**
18 17
      * Create new instance
19 18
      * @param array<string, mixed> $data
20 19
      */
21
-    public function __construct(array $data = [])
22
-    {
20
+    public function __construct(array $data = []) {
23 21
         $params = array_merge($this->getDefault(), $data);
24 22
         $this->load($params);
25 23
     }
@@ -62,8 +60,7 @@  discard block
 block discarded – undo
62 60
      * @param string $name
63 61
      * @return mixed|null
64 62
      */
65
-    public function __get($name)
66
-    {
63
+    public function __get($name) {
67 64
         if (property_exists($this, $name)) {
68 65
             return $this->{$name};
69 66
         }
Please login to merge, or discard this patch.
src/Demo/Provider/ActionServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@
 block discarded – undo
61 61
  * class ActionServiceProvider
62 62
  * @package Platine\Framework
63 63
  */
64
-class ActionServiceProvider extends ServiceProvider
65
-{
64
+class ActionServiceProvider extends ServiceProvider {
66 65
 
67 66
     /**
68 67
      * {@inheritdoc}
Please login to merge, or discard this patch.