Completed
Pull Request — master (#41)
by Raí
07:11
created
Bludata/Framework/Laravel/Providers/LaravelServiceProvider.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 LaravelServiceProvider extends ServiceProvider
8
-{
7
+class LaravelServiceProvider extends ServiceProvider {
9 8
     public function register()
10 9
     {
11 10
         $this->app->register(\Bludata\Doctrine\ORM\Providers\ORMServiceProvider::class);
Please login to merge, or discard this patch.
Bludata/Doctrine/Common/Contracts/ToArrayContract.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Bludata\Doctrine\Common\Contracts;
4 4
 
5
-interface ToArrayContract
6
-{
5
+interface ToArrayContract {
7 6
     public function toArray(array $options = []): array;
8 7
 }
Please login to merge, or discard this patch.
Bludata/Doctrine/Common/Contracts/QueryWorkerContract.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 Doctrine\Common\Collections\ArrayCollection;
6 6
 
7
-interface QueryWorkerContract
8
-{
7
+interface QueryWorkerContract {
9 8
     public function __construct(RepositoryContract $repository);
10 9
 
11 10
     public function getResult(): ArrayCollection;
Please login to merge, or discard this patch.
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.
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.