Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 authored and github-actions[bot] committed Jan 16, 2024
1 parent aac116d commit 8d64417
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/DataObject/ClassDefinition/Data/UrlSlug.php
Expand Up @@ -220,9 +220,9 @@ public function save(Localizedfield|AbstractData|\Pimcore\Model\DataObject\Objec
return;
}

// if now exception is thrown then the slug is owned by a diffrent object/field
throw new \Exception('Unique constraint violated. Slug "' . $slug['slug'] . '" is already used by object '
. $existingSlug->getObjectId() . ', fieldname: ' . $existingSlug->getFieldname());
// if now exception is thrown then the slug is owned by a diffrent object/field
throw new \Exception('Unique constraint violated. Slug "' . $slug['slug'] . '" is already used by object '
. $existingSlug->getObjectId() . ', fieldname: ' . $existingSlug->getFieldname());
}
}

Expand Down

0 comments on commit 8d64417

Please sign in to comment.