Completed
Pull Request — master (#35)
by Raí
12:03 queued 07:27
created
Bludata/Doctrine/Common/Contracts/EntityContract.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 DateTime;
6 6
 
7
-interface EntityContract
8
-{
7
+interface EntityContract {
9 8
     public function getId();
10 9
 
11 10
     public function getCreatedAt(): DateTime;
Please login to merge, or discard this patch.
app/Entities/Rota.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@
 block discarded – undo
10 10
  * @ORM\Entity(repositoryClass="LaravelSeed\Repositories\RotaRepository")
11 11
  * @ORM\Table(name="Rota")
12 12
  */
13
-class Rota extends BaseEntity
14
-{
13
+class Rota extends BaseEntity {
15 14
     /**
16 15
      * @ORM\Column(type="string", name="nome")
17 16
      * BdAnnotations\ToArray
Please login to merge, or discard this patch.
Bludata/Doctrine/Common/Annotations/ToArray.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
  * @Annotation
7 7
  * @Target({"PROPERTY"})
8 8
  */
9
-class ToArray
10
-{
9
+class ToArray {
11 10
 	
12 11
 }
Please login to merge, or discard this patch.
Bludata/Doctrine/ORM/Entities/BaseEntity.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
  * @ORM\HasLifecycleCallbacks
17 17
  * @Gedmo\SoftDeleteable(fieldName="deletedAt", timeAware=false)
18 18
  */
19
-abstract class BaseEntity implements EntityContract
20
-{
19
+abstract class BaseEntity implements EntityContract {
21 20
     use ToArrayTrait;
22 21
     
23 22
     /**
Please login to merge, or discard this patch.
Bludata/Doctrine/ORM/Traits/ToArrayTrait.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Bludata\Doctrine\ORM\Traits;
4 4
 
5
-trait ToArrayTrait
6
-{
5
+trait ToArrayTrait {
7 6
     public function toArray(array $options = []): array
8 7
     {
9 8
         $reflectionProperty = new ReflectionProperty(get_called_class(), $key);
Please login to merge, or discard this patch.
Bludata/Doctrine/Common/Annotations/RulePersist.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,7 @@
 block discarded – undo
6 6
  * @Annotation
7 7
  * @Target({"PROPERTY"})
8 8
  */
9
-class RulePersist
10
-{
9
+class RulePersist {
11 10
     /**
12 11
      * @Enum({"STORE", "UPDATE", "*"})
13 12
      */
Please login to merge, or discard this patch.