Completed
Push — feature/entityListeners ( 65e37d )
by Patrick
04:01
created
src/Builders/Overrides/OverrideBuilderFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,10 +34,10 @@
 block discarded – undo
34 34
     protected static function getFactories()
35 35
     {
36 36
         return [
37
-            AttributeOverride::class   => function (ClassMetadata $meta, $name) {
37
+            AttributeOverride::class   => function(ClassMetadata $meta, $name) {
38 38
                 return $meta->hasField($name);
39 39
             },
40
-            AssociationOverride::class => function (ClassMetadata $meta, $name) {
40
+            AssociationOverride::class => function(ClassMetadata $meta, $name) {
41 41
                 return $meta->hasAssociation($name);
42 42
             },
43 43
         ];
Please login to merge, or discard this patch.
src/Extensions/Gedmo/UploadableFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     public static function enable()
55 55
     {
56 56
         foreach (self::$validTypes as $type) {
57
-            Field::macro("asFile$type", function (Field $builder) use ($type) {
57
+            Field::macro("asFile$type", function(Field $builder) use ($type) {
58 58
                 return new static($builder->getClassMetadata(), $builder->getName(), $type);
59 59
             });
60 60
         }
Please login to merge, or discard this patch.
src/FluentDriver.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      *
57 57
      * @throws MappingException
58 58
      *
59
-     * @return string[] The names of all mapped classes known to this driver.
59
+     * @return integer[] The names of all mapped classes known to this driver.
60 60
      */
61 61
     public function getAllClassNames()
62 62
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function __construct(array $mappings = [])
32 32
     {
33
-        $this->fluentFactory = function (ClassMetadata $metadata) {
33
+        $this->fluentFactory = function(ClassMetadata $metadata) {
34 34
             return new Builder(new ClassMetadataBuilder($metadata));
35 35
         };
36 36
 
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Uploadable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      */
80 80
     public static function enable()
81 81
     {
82
-        Builder::macro(self::MACRO_METHOD, function (Builder $builder) {
82
+        Builder::macro(self::MACRO_METHOD, function(Builder $builder) {
83 83
             return new static($builder->getClassMetadata());
84 84
         });
85 85
 
Please login to merge, or discard this patch.
src/Extensions/Gedmo/Translatable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      */
48 48
     public static function enable()
49 49
     {
50
-        Field::macro(static::MACRO_METHOD, function (Field $builder) {
50
+        Field::macro(static::MACRO_METHOD, function(Field $builder) {
51 51
             return new static($builder->getClassMetadata(), $builder->getName());
52 52
         });
53 53
 
Please login to merge, or discard this patch.
src/Builders/EntityListeners.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
             return call_user_func_array([$this, 'add'], $args);
76 76
         }
77 77
 
78
-        throw new InvalidArgumentException('Fluent builder method [' . $event . '] does not exist');
78
+        throw new InvalidArgumentException('Fluent builder method ['.$event.'] does not exist');
79 79
     }
80 80
 
81 81
     /**
Please login to merge, or discard this patch.