Fixed formatting to match PSR-2
parent
2938be5a2d
commit
04cae3c295
@ -1,10 +1,12 @@
|
||||
<?php
|
||||
namespace pdt256\Shipping;
|
||||
|
||||
class Validator {
|
||||
public static function checkIfNull($value, $name) {
|
||||
if ($value === null) {
|
||||
throw new \LogicException("$name is not set");
|
||||
}
|
||||
}
|
||||
}
|
||||
class Validator
|
||||
{
|
||||
public static function checkIfNull($value, $name)
|
||||
{
|
||||
if ($value === null) {
|
||||
throw new \LogicException("$name is not set");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue