Completed
Push — master ( 408d98...51be17 )
by Jan
04:01
created
src/Entity/PriceInformations/Pricedetail.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,6 @@
 block discarded – undo
110 110
      *          in the database, you have to pass the "price_related_quantity" count as $multiplier.
111 111
      *
112 112
      * @return float  the price as a float number
113
-
114 113
      */
115 114
     public function getPricePerUnit(int $multiplier = 1) : float
116 115
     {
Please login to merge, or discard this patch.
src/Entity/UserSystem/PermissionsEmbed.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
      */
274 274
     public function getBitValue(string $permission_name, int $bit_n): int
275 275
     {
276
-        if(!$this->isValidPermissionName($permission_name)) {
276
+        if (!$this->isValidPermissionName($permission_name)) {
277 277
             throw new \InvalidArgumentException('No permission with the given name is existing!');
278 278
         }
279 279
 
@@ -317,9 +317,9 @@  discard block
 block discarded – undo
317 317
     public function setPermissionValue(string $permission_name, int $bit_n, ?bool $new_value) : self
318 318
     {
319 319
         //Determine which bit value the given value is.
320
-        if($new_value === true) {
320
+        if ($new_value === true) {
321 321
             $bit_value = static::ALLOW;
322
-        } elseif($new_value === false) {
322
+        } elseif ($new_value === false) {
323 323
             $bit_value = static::DISALLOW;
324 324
         } else {
325 325
             $bit_value = static::INHERIT;
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
      */
340 340
     public function setBitValue(string $permission_name, int $bit_n, int $new_value) : self
341 341
     {
342
-        if(!$this->isValidPermissionName($permission_name)) {
342
+        if (!$this->isValidPermissionName($permission_name)) {
343 343
             throw new \InvalidArgumentException('No permission with the given name is existing!');
344 344
         }
345 345
 
Please login to merge, or discard this patch.
src/Entity/Base/StructuralDBElement.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,6 @@
 block discarded – undo
140 140
 
141 141
     /**
142 142
      *  Get the comment of the element.
143
-
144 143
      * @return string the comment
145 144
      */
146 145
     public function getComment(): ?string
Please login to merge, or discard this patch.
src/Form/BaseEntityAdminForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
             ->add('not_selectable', CheckboxType::class, ['required' => false,
74 74
                 'label' => 'not_selectable.label', 'help' => 'not_selectable.help', 'label_attr'=> ['class' => 'checkbox-custom'],
75
-                'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity) ])
75
+                'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity)])
76 76
 
77 77
             ->add('comment', CKEditorType::class, ['required' => false,
78 78
                 'label' => 'comment.label', 'attr' => ['rows' => 4], 'help' => 'bbcode.hint',
Please login to merge, or discard this patch.