Completed
Pull Request — develop (#359)
by Mathias
23:51
created
module/Cv/src/Cv/Entity/CvInterface.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 use Core\Entity\IdentifiableEntityInterface;
11 11
 
12 12
 interface CvInterface extends EntityInterface,
13
-                              IdentifiableEntityInterface,
14
-                              DraftableEntityInterface,
15
-                              PermissionsAwareInterface,
16
-                              ModificationDateAwareEntityInterface
13
+                                IdentifiableEntityInterface,
14
+                                DraftableEntityInterface,
15
+                                PermissionsAwareInterface,
16
+                                ModificationDateAwareEntityInterface
17 17
 {
18 18
     
19 19
     /**
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/AbstractStatusEntity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
             $name = $this->default;
83 83
         }
84 84
 
85
-        if (!isset(static::$orderMap[ $name ])) {
85
+        if (!isset(static::$orderMap[$name])) {
86 86
             throw new \InvalidArgumentException(sprintf(
87 87
                 'Unknown status name "%s" for "%s"',
88 88
                 $name, static::class
@@ -90,6 +90,6 @@  discard block
 block discarded – undo
90 90
         }
91 91
 
92 92
         $this->name  = $name;
93
-        $this->order = static::$orderMap[ $name ];
93
+        $this->order = static::$orderMap[$name];
94 94
     }
95 95
 }
96 96
\ No newline at end of file
Please login to merge, or discard this patch.
module/Cv/src/Cv/Repository/Event/UpdateFilesPermissionsSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 {
25 25
     protected $targetDocument = Cv::class;
26 26
 
27
-    protected $filesProperties = [ 'attachments' ];
27
+    protected $filesProperties = ['attachments'];
28 28
 
29 29
     /**
30 30
      *
Please login to merge, or discard this patch.
DoctrineMongoODM/Event/AbstractUpdateFilesPermissionsSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
     public function getSubscribedEvents()
51 51
     {
52
-        return [ Events::onFlush ];
52
+        return [Events::onFlush];
53 53
     }
54 54
 
55 55
     /**
Please login to merge, or discard this patch.
module/Applications/src/Applications/Entity/History.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@  discard block
 block discarded – undo
41 41
      */
42 42
     protected $message;
43 43
     
44
+    /**
45
+     * @param StatusInterface|null $status
46
+     */
44 47
     public function __construct($status, $message = '[System]')
45 48
     {
46 49
         if (!$status instanceof StatusInterface) {
@@ -116,7 +119,7 @@  discard block
 block discarded – undo
116 119
     /**
117 120
      * Sets the history message
118 121
      *
119
-     * @param $message
122
+     * @param string $message
120 123
      *
121 124
      * @return $this
122 125
      */
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/AbstractEventsHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * Set the View object
21 21
      *
22 22
      * @param  Renderer $view
23
-     * @return AbstractHelper
23
+     * @return AbstractEventsHelper
24 24
      */
25 25
     public function setView(Renderer $view)
26 26
     {
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/EducationFieldset.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
     public function init()
25 25
     {
26 26
         $this->setName('education')
27
-             ->setHydrator(new EntityHydrator())
28
-             ->setObject(new EducationEntity());
27
+                ->setHydrator(new EntityHydrator())
28
+                ->setObject(new EducationEntity());
29 29
         
30 30
         $this->add(
31 31
             array(
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/PreferredJobFieldset.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
     public function init()
53 53
     {
54 54
         $this->setName('preferredJob')
55
-             ->setHydrator(new EntityHydrator())
56
-             ->setObject(new PreferredJob());
55
+                ->setHydrator(new EntityHydrator())
56
+                ->setObject(new PreferredJob());
57 57
 
58 58
         $this->add(
59 59
             array(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     
14 14
     use EmptySummaryAwareTrait;
15 15
 
16
-    private $defaultEmptySummaryNotice =  /*@translate*/ 'Click here to enter your employment expectation';
16
+    private $defaultEmptySummaryNotice = /*@translate*/ 'Click here to enter your employment expectation';
17 17
     
18 18
     /**
19 19
      * Type of Application Options
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     protected $locationEngineType;
45 45
 
46 46
     /**
47
-     * @param $locationEngineType
47
+     * @param string $locationEngineType
48 48
      */
49 49
     public function setLocationEngineType($locationEngineType)
50 50
     {
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/InputFilter/Education.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $this->add([
28 28
             'name' => 'endDate',
29
-            'required' => ! $data['currentIndicator']
29
+            'required' => !$data['currentIndicator']
30 30
         ]);
31 31
         
32 32
         return parent::setData($data);
Please login to merge, or discard this patch.