Completed
Push — master ( ce79d3...3d8890 )
by Jakub
02:31
created
src/Character.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
   public function damageStat(): string {
477 477
     $stat = "strength";
478 478
     foreach($this->equipment as $item) {
479
-      if(!$item->worn OR $item->slot != Equipment::SLOT_WEAPON) {
479
+      if(!$item->worn or $item->slot != Equipment::SLOT_WEAPON) {
480 480
         continue;
481 481
       }
482 482
       switch($item->type) {
@@ -534,7 +534,7 @@  discard block
 block discarded – undo
534 534
       $stat = $effect->stat;
535 535
       $type = $effect->type;
536 536
       $duration = $effect->duration;
537
-      if(is_int($duration) AND $duration < 0) {
537
+      if(is_int($duration) and $duration < 0) {
538 538
         unset($this->effects[$i]);
539 539
         continue;
540 540
       }
Please login to merge, or discard this patch.