Passed
Push — master ( 98f021...0d9edd )
by Jakub
01:48
created
src/Character.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
    */
532 532
   public function damageStat(): string {
533 533
     foreach($this->equipment as $item) {
534
-      if(!$item->worn OR !$item instanceof Weapon) {
534
+      if(!$item->worn or !$item instanceof Weapon) {
535 535
         continue;
536 536
       }
537 537
       return $item->damageStat;
@@ -579,7 +579,7 @@  discard block
 block discarded – undo
579 579
       $stat = $effect->stat;
580 580
       $type = $effect->type;
581 581
       $duration = $effect->duration;
582
-      if(is_int($duration) AND $duration < 1) {
582
+      if(is_int($duration) and $duration < 1) {
583 583
         $this->removeEffect($effect->id);
584 584
         continue;
585 585
       }
Please login to merge, or discard this patch.