@@ -180,7 +180,6 @@ public function contractedCopy(float $x, float $y, float $z) : AxisAlignedBB{
180180 * @param float $distance Negative values pull the face in, positive values push out.
181181 *
182182 * @return $this
183- * @throws \InvalidArgumentException
184183 */
185184 public function extend (Facing $ face , float $ distance ) : AxisAlignedBB {
186185 match ($ face ){
@@ -198,8 +197,6 @@ public function extend(Facing $face, float $distance) : AxisAlignedBB{
198197 /**
199198 * Returns an extended clone of this bounding box.
200199 * @see AxisAlignedBB::extend()
201- *
202- * @throws \InvalidArgumentException
203200 */
204201 public function extendedCopy (Facing $ face , float $ distance ) : AxisAlignedBB {
205202 return (clone $ this )->extend ($ face , $ distance );
@@ -212,7 +209,6 @@ public function extendedCopy(Facing $face, float $distance) : AxisAlignedBB{
212209 * @param float $distance Positive values pull the face in, negative values push out.
213210 *
214211 * @return $this
215- * @throws \InvalidArgumentException
216212 */
217213 public function trim (Facing $ face , float $ distance ) : AxisAlignedBB {
218214 return $ this ->extend ($ face , -$ distance );
@@ -221,8 +217,6 @@ public function trim(Facing $face, float $distance) : AxisAlignedBB{
221217 /**
222218 * Returns a trimmed clone of this bounding box.
223219 * @see AxisAlignedBB::trim()
224- *
225- * @throws \InvalidArgumentException
226220 */
227221 public function trimmedCopy (Facing $ face , float $ distance ) : AxisAlignedBB {
228222 return $ this ->extendedCopy ($ face , -$ distance );
0 commit comments