Completed
Push — master ( 7888fa...8e3a44 )
by Ivannis Suárez
04:39
created
Driver/AbstractAnnotationDriver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * AbstractAnnotationDriver constructor.
57 57
      *
58 58
      * @param Reader $reader
59
-     * @param array  $paths
59
+     * @param string[]  $paths
60 60
      */
61 61
     public function __construct(Reader $reader, array $paths = array())
62 62
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @param array $paths
76
+     * @param string[] $paths
77 77
      */
78 78
     public function addExcludePaths(array $paths)
79 79
     {
Please login to merge, or discard this patch.
MethodMetadata.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
     /**
92 92
      * @param string $key
93
-     * @param mixed  $value
93
+     * @param boolean|string  $value
94 94
      */
95 95
     public function addMetadata($key, $value)
96 96
     {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     }
109 109
 
110 110
     /**
111
-     * @param object $obj
111
+     * @param Tests\Fixtures\User $obj
112 112
      * @param array  $args
113 113
      *
114 114
      * @return mixed
Please login to merge, or discard this patch.
PropertyMetadata.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @param object $obj
105
+     * @param Tests\Fixtures\User $obj
106 106
      *
107 107
      * @return mixed
108 108
      */
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     }
113 113
 
114 114
     /**
115
-     * @param object $obj
115
+     * @param Tests\Fixtures\User $obj
116 116
      * @param string $value
117 117
      */
118 118
     public function setValue($obj, $value)
Please login to merge, or discard this patch.
Tests/Units/Factory/DriverFactoryTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $this
44 44
             ->given($factory = $this->createFactory())
45 45
             ->then()
46
-                ->exception(function () {
46
+                ->exception(function() {
47 47
                     DriverFactory::registerAnnotationDriver(User::class);
48 48
                 })->isInstanceOf(\InvalidArgumentException::class)
49 49
         ;
Please login to merge, or discard this patch.
Tests/Units/Cache/FileCacheTests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@
 block discarded – undo
37 37
             ->given($invalidCacheDir = __DIR__.'/Invalid')
38 38
             ->given($nonWritableCacheDir = '/root')
39 39
             ->then()
40
-                ->exception(function () use ($invalidCacheDir) {
40
+                ->exception(function() use ($invalidCacheDir) {
41 41
                     new FileCache($invalidCacheDir);
42 42
                 })->isInstanceOf(\InvalidArgumentException::class)
43
-                ->exception(function () use ($nonWritableCacheDir) {
43
+                ->exception(function() use ($nonWritableCacheDir) {
44 44
                     new FileCache($nonWritableCacheDir);
45 45
                 })->isInstanceOf(\InvalidArgumentException::class)
46 46
         ;
Please login to merge, or discard this patch.
Tests/Units/Driver/ChainDriverTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
         $this
104 104
             ->given($driver = $this->createEmptyDriver())
105 105
             ->then()
106
-                ->exception(function () use ($driver) {
106
+                ->exception(function() use ($driver) {
107 107
                     $driver->loadMetadataForClass(User::class);
108 108
                 })->isInstanceOf(MappingException::class)
109 109
         ;
Please login to merge, or discard this patch.
Tests/Units/Driver/AbstractAnnotationDriverTests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,14 +172,14 @@
 block discarded – undo
172 172
         $this
173 173
             ->given($driver = $this->createEmptyDriver())
174 174
             ->then()
175
-                ->exception(function () use ($driver) {
175
+                ->exception(function() use ($driver) {
176 176
                     $driver->getAllClassNames();
177 177
                 })->isInstanceOf(MappingException::class);
178 178
 
179 179
         $this
180 180
             ->given($driver = $this->createDriverWithInvalidPaths())
181 181
             ->then()
182
-                ->exception(function () use ($driver) {
182
+                ->exception(function() use ($driver) {
183 183
                     $driver->getAllClassNames();
184 184
                 })->isInstanceOf(MappingException::class);
185 185
     }
Please login to merge, or discard this patch.
Tests/Units/Driver/DriverTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,10 +38,10 @@
 block discarded – undo
38 38
         $this
39 39
             ->given($driver = $this->createDriver())
40 40
             ->then()
41
-                ->exception(function () use ($driver) {
41
+                ->exception(function() use ($driver) {
42 42
                     $driver->loadMetadataForClass('Cubiche\Core\Metadata\Tests\Fixtures\Post');
43 43
                 })->isInstanceOf(MappingException::class)
44
-                ->exception(function () use ($driver) {
44
+                ->exception(function() use ($driver) {
45 45
                     $driver->loadMetadataForClass('Cubiche\Core\Metadata\Tests\Fixtures\Blog');
46 46
                 })->isInstanceOf(MappingException::class)
47 47
         ;
Please login to merge, or discard this patch.
Tests/Units/Driver/AbstractYamlDriverTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $this
47 47
             ->given($driver = $this->createDriver())
48 48
             ->then()
49
-                ->exception(function () use ($driver) {
49
+                ->exception(function() use ($driver) {
50 50
                     $driver->loadMetadataForClass('Cubiche\Core\Metadata\Tests\Fixtures\Venue');
51 51
                 })->isInstanceOf(MappingException::class)
52 52
         ;
Please login to merge, or discard this patch.