Skip to content

Commit 954b960

Browse files
cklei-carlygithub-actions[bot]
authored andcommitted
Fix styling
1 parent 42b0cca commit 954b960

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

src/Base/Dtos/Concerns/HasPropertyGroup.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ trait HasPropertyGroup
1515
/**
1616
* Retrieves a property group by its key.
1717
*
18-
* @param string $key The unique identifier for the property group
18+
* @param string $key The unique identifier for the property group
1919
* @return ?PropertyDataGroupDto
2020
*/
2121
public function getPropertyGroup(string $key)
@@ -28,6 +28,7 @@ public function getPropertyGroup(string $key)
2828
if ($result && $result instanceof PropertyGroupCollection) {
2929
$result->setFallbackLocale($this->getFallbackLocale());
3030
}
31+
3132
return $result;
3233
}
3334

src/Dtos/ContentDto.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ public function getTemplate($slug)
201201
/**
202202
* Checks if a specific property exists for the given group and field.
203203
*
204-
* @param string $group The property group to check
205-
* @param string $field The specific field name to check within the group
204+
* @param string $group The property group to check
205+
* @param string $field The specific field name to check within the group
206206
* @return bool Returns true if the property exists, false otherwise
207207
*/
208208
public function hasProperty(string $group, string $field): bool
@@ -213,10 +213,10 @@ public function hasProperty(string $group, string $field): bool
213213
/**
214214
* Gets the value of a specific property within a group.
215215
*
216-
* @param string $group The property group identifier
217-
* @param string $field The field identifier within the group
218-
* @param string|null $locale Optional locale code to get localized value, defaults to current locale if null
219-
* @return mixed
216+
* @param string $group The property group identifier
217+
* @param string $field The field identifier within the group
218+
* @param string|null $locale Optional locale code to get localized value, defaults to current locale if null
219+
* @return mixed
220220
*/
221221
public function getPropertyValue(string $group, string $field, ?string $locale = null, ?string $fallbackLocale = null)
222222
{

src/Dtos/PropertyDataGroupDto.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public function hasProperty(string $key): bool
6969
return true;
7070
}
7171
}
72+
7273
return false;
7374
}
7475
}

0 commit comments

Comments
 (0)