Skip to content

Commit e785a1b

Browse files
committed
services.yml fix and fix for setValue
1 parent ae9e48c commit e785a1b

File tree

12 files changed

+34
-12
lines changed

12 files changed

+34
-12
lines changed

Lib/Vartypes/BFBoolean.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,7 @@ public function setValue($value)
7070
} else {
7171
throw new \Exception('Value must be ' . __CLASS__ . ' type but is ' . gettype($val));
7272
}
73+
74+
return $this;
7375
}
7476
}

Lib/Vartypes/BFByte.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,7 @@ public function setValue($value)
6868
} else {
6969
throw new \Exception('Value must be ' . __CLASS__ . ' type but is ' . gettype($value));
7070
}
71+
72+
return $this;
7173
}
7274
}

Lib/Vartypes/BFDate.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,7 @@ public function __toString()
107107
public function setValue($value)
108108
{
109109
$this->date = new \DateTime($value);
110+
111+
return $this;
110112
}
111113
}

Lib/Vartypes/BFDouble.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,7 @@ public function setValue($val)
7272
} else {
7373
throw new \Exception('Value must be ' . __CLASS__ . ' type but is ' . gettype($val) . ' - ' . $val);
7474
}
75+
76+
return $this;
7577
}
7678
}

Lib/Vartypes/BFEmail.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,7 @@ public function setValue($value)
6666
} else {
6767
$this->value = $value;
6868
}
69+
70+
return $this;
6971
}
7072
}

Lib/Vartypes/BFFloat.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,7 @@ public function setValue($value)
8181
} else {
8282
throw new \Exception('Value must be ' . __CLASS__ . ' type but is ' . gettype($value) . ' - ' . $value);
8383
}
84+
85+
return $this;
8486
}
8587
}

Lib/Vartypes/BFInteger.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,7 @@ public function setValue($value)
7070
} else {
7171
throw new \Exception('Value must be ' . __CLASS__ . ' type but is ' . gettype($value));
7272
}
73+
74+
return $this;
7375
}
7476
}

Lib/Vartypes/BFNip.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,7 @@ public function setValue($value)
8989
} else {
9090
throw new \Exception('Value must be correct ' . __CLASS__ . ' type');
9191
}
92+
93+
return $this;
9294
}
9395
}

Lib/Vartypes/BFPsqlSecureString.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,7 @@ public function setValue($value)
9393
} else {
9494
throw new \Exception('Value must be ' . __CLASS__ . ' type but is ' . gettype($value));
9595
}
96+
97+
return $this;
9698
}
9799
}

Lib/Vartypes/BFSecureString.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,7 @@ public function setValue($value)
8383
} else {
8484
throw new \Exception('Value must be ' . __CLASS__ . ' type but is ' . gettype($value));
8585
}
86+
87+
return $this;
8688
}
8789
}

0 commit comments

Comments
 (0)