Completed
Pull Request — master (#41)
by Raí
07:11
created
Bludata/Doctrine/Common/Annotations/Rule.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 Rule
10
-{
9
+class Rule {
11 10
 	/**
12 11
      * @Enum({"STORE", "UPDATE", "*"})
13 12
      */
Please login to merge, or discard this patch.
Bludata/Doctrine/Common/Annotations/Fillable.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 Fillable
10
-{
9
+class Fillable {
11 10
 
12 11
 }
Please login to merge, or discard this patch.
Bludata/Doctrine/Common/Providers/CommonServiceProvider.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 Illuminate\Support\ServiceProvider;
6 6
 
7
-class CommonServiceProvider extends ServiceProvider
8
-{
7
+class CommonServiceProvider extends ServiceProvider {
9 8
     public function register()
10 9
     {
11 10
         register_annotation_dir(__DIR__.'/../Annotations');
Please login to merge, or discard this patch.
Bludata/Doctrine/ORM/Repositories/QueryWorker.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     public function toArray(array $options = []): array
53 53
     {
54 54
         return $this->getResult()
55
-                    ->map(function ($element) use ($options){
55
+                    ->map(function ($element) use ($options) {
56 56
                         return $element->toArray($options);
57 57
                     })->toArray();
58 58
     }
Please login to merge, or discard this patch.
Bludata/Doctrine/ORM/Providers/ORMServiceProvider.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 Illuminate\Support\ServiceProvider;
6 6
 
7
-class ORMServiceProvider extends ServiceProvider
8
-{
7
+class ORMServiceProvider extends ServiceProvider {
9 8
     public function register()
10 9
     {
11 10
         $this->app->register(\Bludata\Doctrine\Common\Providers\CommonServiceProvider::class);
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
@@ -9,8 +9,7 @@
 block discarded – undo
9 9
 use Doctrine\ORM\PersistentCollection;
10 10
 use ReflectionProperty;
11 11
 
12
-trait ToArrayTrait
13
-{
12
+trait ToArrayTrait {
14 13
     private function isOnly(ReflectionProperty $property, array $optionsToArray): bool
15 14
     {
16 15
         if (!isset($optionsToArray['only']) && !isset($optionsToArray['except'])) {
Please login to merge, or discard this patch.
database/migrations/Version20171016204335.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use Doctrine\DBAL\Migrations\AbstractMigration;
6 6
 use Doctrine\DBAL\Schema\Schema as Schema;
7 7
 
8
-class Version20171016204335 extends AbstractMigration
9
-{
8
+class Version20171016204335 extends AbstractMigration {
10 9
     /**
11 10
      * @param Schema $schema
12 11
      */
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\Fillable
Please login to merge, or discard this patch.