Passed
Push — develop ( 1cdaea...12a68b )
by Mathias
12:21 queued 04:15
created
module/Jobs/src/Entity/TemplateValues.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * @var String
39 39
      * @ODM\Field(type="string")
40 40
      */
41
-    protected $qualifications='';
41
+    protected $qualifications = '';
42 42
 
43 43
     /**
44 44
      * Requirements field of the job template
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @var String
47 47
      * @ODM\Field(type="string")
48 48
      */
49
-    protected $requirements='';
49
+    protected $requirements = '';
50 50
 
51 51
     /**
52 52
      * Benefits field of the job template
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * @var String
55 55
      * @ODM\Field(type="string")
56 56
      */
57
-    protected $benefits='';
57
+    protected $benefits = '';
58 58
 
59 59
     /**
60 60
      * Job title field of the job template
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * @var String
63 63
      * @ODM\Field(type="string")
64 64
      */
65
-    protected $title='';
65
+    protected $title = '';
66 66
 
67 67
     /**
68 68
      * Company description field of the job template
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      * @var String
71 71
      * @ODM\Field(type="string")
72 72
      */
73
-    protected $description='';
73
+    protected $description = '';
74 74
 
75 75
     /**
76 76
      * language of the job template values. Must be a valid ISO 639-1 code
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * @var String
79 79
      * @ODM\Field(type="string")
80 80
      */
81
-    protected $language='en';
81
+    protected $language = 'en';
82 82
 
83 83
     /**
84 84
      * Pure HTML
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      * @var string
88 88
      * @since 0.29
89 89
      */
90
-    protected $html='';
90
+    protected $html = '';
91 91
 
92 92
     /**
93 93
      * Introduction text for the job template
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     public function setQualifications($qualifications)
122 122
     {
123
-        $this->qualifications= (string) $qualifications;
123
+        $this->qualifications = (string) $qualifications;
124 124
         return $this;
125 125
     }
126 126
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      */
143 143
     public function setRequirements($requirements)
144 144
     {
145
-        $this->requirements=(string) $requirements;
145
+        $this->requirements = (string) $requirements;
146 146
         return $this;
147 147
     }
148 148
 
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      */
165 165
     public function setBenefits($benefits)
166 166
     {
167
-        $this->benefits=(string) $benefits;
167
+        $this->benefits = (string) $benefits;
168 168
         return $this;
169 169
     }
170 170
 
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      */
187 187
     public function setTitle($title)
188 188
     {
189
-        $this->title=(string) $title;
189
+        $this->title = (string) $title;
190 190
         return $this;
191 191
     }
192 192
 
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
      */
209 209
     public function setDescription($description)
210 210
     {
211
-        $this->description=(string) $description;
211
+        $this->description = (string) $description;
212 212
         return $this;
213 213
     }
214 214
 
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
      */
231 231
     public function setLanguage($language)
232 232
     {
233
-        $this->language=(string) $language;
233
+        $this->language = (string) $language;
234 234
         return $this;
235 235
     }
236 236
 
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
 
340 340
     public function __get($property)
341 341
     {
342
-        $getter = "get" . ucfirst($property);
342
+        $getter = "get".ucfirst($property);
343 343
         if (method_exists($this, $getter)) {
344 344
             return $this->$getter();
345 345
         }
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
     public function __set($property, $value)
355 355
     {
356 356
         //$this->checkWriteAccess();
357
-        $setter = 'set' . ucfirst($property);
357
+        $setter = 'set'.ucfirst($property);
358 358
         if (method_exists($this, $setter)) {
359 359
             $this->$setter($value);
360 360
             return;
Please login to merge, or discard this patch.