Completed
Push — master ( 4c11d7...d8d25b )
by Quentin
03:06
created
DependencyInjection/Compiler/InMemoryDataLoadCompilerPass.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * Construct.
30 30
      *
31
-     * @param FileLocator $fileLocator
31
+     * @param FileLocatorInterface $fileLocator
32 32
      */
33 33
     public function __construct(FileLocatorInterface $fileLocator)
34 34
     {
Please login to merge, or discard this patch.
src/Majora/Framework/Loader/Bridge/Doctrine/DoctrineEventProxy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * Register a loader for given entity class.
48 48
      *
49 49
      * @param string $entityClass
50
-     * @param string $loader
50
+     * @param LazyLoaderInterface $loader
51 51
      */
52 52
     public function registerDoctrineLazyLoader($entityClass, LazyLoaderInterface $loader)
53 53
     {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Retrieve a lazy loader for given class (or not).
67 67
      *
68
-     * @param object $entityClass
68
+     * @param object $entity
69 69
      *
70 70
      * @return
71 71
      */
Please login to merge, or discard this patch.
src/Majora/Framework/Loader/Bridge/Security/UserProviderLoaderTrait.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@  discard block
 block discarded – undo
17 17
 {
18 18
     /**
19 19
      * @see UserProviderInterface::loadUserByUsername()
20
+     * @param string $username
20 21
      */
21 22
     public function loadUserByUsername($username)
22 23
     {
@@ -52,6 +53,7 @@  discard block
 block discarded – undo
52 53
 
53 54
     /**
54 55
      * @see UserProviderInterface::supportsClass()
56
+     * @param string $class
55 57
      */
56 58
     public function supportsClass($class)
57 59
     {
Please login to merge, or discard this patch.
src/Majora/Framework/Loader/LazyLoaderTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
      * Hydrate lazy loads delegate into given Collectionnable, if enabled and if
14 14
      * entity supports it.
15 15
      *
16
-     * @param LazyPropertiesInterface $object (not hinted to help notation and custom exception)
17 16
      *
18 17
      * @return LazyPropertiesInterface
19 18
      */
Please login to merge, or discard this patch.
src/Majora/Framework/Loader/LoaderTrait.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -88,6 +88,8 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * @see LoaderInterface::configureMetadata()
91
+     * @param string $entityClass
92
+     * @param string $collectionClass
91 93
      */
92 94
     public function configureMetadata($entityClass, array $entityProperties, $collectionClass)
93 95
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      */
109 109
     public function getLoadingDelegate()
110 110
     {
111
-        return $this->loadingDelegate = $this->loadingDelegate ?: function ($id) {
111
+        return $this->loadingDelegate = $this->loadingDelegate ?: function($id) {
112 112
             return $this->retrieveById($id);
113 113
         };
114 114
     }
Please login to merge, or discard this patch.
src/Majora/Framework/Model/TimedTrait.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @param string $format optional date format
40 40
      *
41
-     * @return \DateTime|string
41
+     * @return \DateTime|null
42 42
      */
43 43
     public function getCreatedAt($format = null)
44 44
     {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      *
68 68
      * @param string $format optional date format
69 69
      *
70
-     * @return \DateTime|string
70
+     * @return \DateTime|null
71 71
      */
72 72
     public function getUpdatedAt($format = null)
73 73
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
     protected function formatDateTime(\DateTime $date = null, $format = null)
29 29
     {
30 30
         return $date && $format ?
31
-            $date->format($format) :
32
-            $date
31
+            $date->format($format) : $date
33 32
         ;
34 33
     }
35 34
 
Please login to merge, or discard this patch.
src/Majora/Framework/Model/TranslatableInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
     /**
20 20
      * define defaultLocale
21 21
      *
22
-     * @param string $currentLocale
23 22
      * @return self
24 23
      */
25 24
     public function setDefaultLocale($defaultLocale);
Please login to merge, or discard this patch.
src/Majora/Framework/Serializer/Tests/Model/SerializableMock1.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
         return $this->id;
32 32
     }
33 33
 
34
+    /**
35
+     * @param integer $id
36
+     */
34 37
     public function setId($id)
35 38
     {
36 39
         $this->id = $id;
@@ -38,6 +41,9 @@  discard block
 block discarded – undo
38 41
         return $this;
39 42
     }
40 43
 
44
+    /**
45
+     * @param string $protect
46
+     */
41 47
     public function setProtectedProtect($protect)
42 48
     {
43 49
         $this->protect = $protect;
@@ -50,6 +56,9 @@  discard block
 block discarded – undo
50 56
         return $this->label;
51 57
     }
52 58
 
59
+    /**
60
+     * @param string $label
61
+     */
53 62
     public function setLabel($label)
54 63
     {
55 64
         $this->label = $label;
Please login to merge, or discard this patch.
src/Majora/Framework/Serializer/Tests/Model/SerializableMock2.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
         return $this->id;
19 19
     }
20 20
 
21
+    /**
22
+     * @param integer $id
23
+     */
21 24
     public function setId($id)
22 25
     {
23 26
         $this->id = $id;
Please login to merge, or discard this patch.