diff --git a/lib/RetailCrm/Methods/V5/Costs.php b/lib/RetailCrm/Methods/V5/Costs.php index d1278dd..9f0f109 100644 --- a/lib/RetailCrm/Methods/V5/Costs.php +++ b/lib/RetailCrm/Methods/V5/Costs.php @@ -201,7 +201,7 @@ trait Costs */ public function costsDeleteById($id) { - if (!empty($id)) { + if (empty($id)) { throw new \InvalidArgumentException( 'Parameter `id` must contains a data' );