Skip to content

Commit 6af11ee

Browse files
committed
Style CI fix 🎭
(cherry picked from commit d602134)
1 parent 575bef7 commit 6af11ee

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

src/Types/GeometryCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function offsetGet($offset)
8686

8787
public function offsetSet($offset, $value)
8888
{
89-
if (! ($value instanceof GeometryInterface)) {
89+
if (!($value instanceof GeometryInterface)) {
9090
throw new InvalidArgumentException('$value must be an instance of GeometryInterface');
9191
}
9292

src/Types/MultiLineString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __toString()
5555

5656
public function offsetSet($offset, $value)
5757
{
58-
if (! ($value instanceof LineString)) {
58+
if (!($value instanceof LineString)) {
5959
throw new InvalidArgumentException('$value must be an instance of LineString');
6060
}
6161

src/Types/MultiPolygon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ protected static function assembleParts(array $parts)
9090

9191
public function offsetSet($offset, $value)
9292
{
93-
if (! ($value instanceof Polygon)) {
93+
if (!($value instanceof Polygon)) {
9494
throw new InvalidArgumentException('$value must be an instance of Polygon');
9595
}
9696

src/Types/PointCollection.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function toPairList()
3636

3737
public function offsetSet($offset, $value)
3838
{
39-
if (! ($value instanceof Point)) {
39+
if (!($value instanceof Point)) {
4040
throw new InvalidArgumentException('$value must be an instance of Point');
4141
}
4242

@@ -55,7 +55,6 @@ public function getPoints()
5555
* @param \Grimzy\LaravelMysqlSpatial\Types\Point $point
5656
*
5757
* @deprecated 2.1.0 Use array_unshift($multipoint, $point); instead
58-
*
5958
* @see array_unshift
6059
* @see ArrayAccess
6160
*/
@@ -68,7 +67,6 @@ public function prependPoint(Point $point)
6867
* @param \Grimzy\LaravelMysqlSpatial\Types\Point $point
6968
*
7069
* @deprecated 2.1.0 Use $multipoint[] = $point; instead
71-
*
7270
* @see ArrayAccess
7371
*/
7472
public function appendPoint(Point $point)
@@ -81,7 +79,6 @@ public function appendPoint(Point $point)
8179
* @param \Grimzy\LaravelMysqlSpatial\Types\Point $point
8280
*
8381
* @deprecated 2.1.0 Use array_splice($multipoint, $index, 0, [$point]); instead
84-
*
8582
* @see array_splice
8683
* @see ArrayAccess
8784
*/

0 commit comments

Comments
 (0)