From 2f8c5790b2816873c0d1dda4478d961de4686a1a Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 30 Oct 2023 20:01:15 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Traits/Attributable.php | 44 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/Traits/Attributable.php b/src/Traits/Attributable.php index 993b313..f18fb0a 100644 --- a/src/Traits/Attributable.php +++ b/src/Traits/Attributable.php @@ -112,29 +112,29 @@ public function deleteAttribute(string $title, string $value) ->delete(); } - /** - * Delete attribute by title. - * - * @return int - */ - public function deleteAttributeByTitle(string $title) - { - return $this->getAttributeWhere() - ->where('title', $title) - ->delete(); - } + /** + * Delete attribute by title. + * + * @return int + */ + public function deleteAttributeByTitle(string $title) + { + return $this->getAttributeWhere() + ->where('title', $title) + ->delete(); + } - /** - * Delete attribute by value. - * - * @return int - */ - public function deleteAttributeByValue(string $value) - { - return $this->getAttributeWhere() - ->where('value', $value) - ->delete(); - } + /** + * Delete attribute by value. + * + * @return int + */ + public function deleteAttributeByValue(string $value) + { + return $this->getAttributeWhere() + ->where('value', $value) + ->delete(); + } /** * Get attribute with this (model).