private function invalidScopeId($condition, $mask, $scopeId) { if (!$condition) { return; } throw new InvalidArgumentException(sprintf($mask, var_export($scopeId, true))); }