Skip to content

Commit 2ab00c4

Browse files
committed
Fixed minor indentation issues after applying new Ibexa Code Style
1 parent ee7a033 commit 2ab00c4

File tree

5 files changed

+25
-62
lines changed

5 files changed

+25
-62
lines changed

src/lib/Repository/Values/Content/Content.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,12 @@ public function getDefaultLanguageCode(): string
175175
return $this->prioritizedFieldLanguageCode ?? $this->versionInfo->contentInfo->mainLanguageCode;
176176
}
177177

178-
/**
179-
* {@inheritdoc}
180-
*/
181178
protected function getProperties(
182-
$dynamicProperties = ['id',
183-
'contentInfo']
184-
) {
179+
$dynamicProperties = [
180+
'id',
181+
'contentInfo',
182+
]
183+
): array {
185184
return parent::getProperties($dynamicProperties);
186185
}
187186

src/lib/Repository/Values/Content/TrashItem.php

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,12 @@ public function getRemovedLocationContentIdMap(): array
5656
return $this->removedLocationContentIdMap;
5757
}
5858

59-
/**
60-
* Function where list of properties are returned.
61-
*
62-
* Override to add dynamic properties
63-
*
64-
* @uses \parent::getProperties()
65-
*
66-
* @param array $dynamicProperties
67-
*
68-
* @return array
69-
*/
7059
protected function getProperties(
71-
$dynamicProperties = ['contentId',
72-
'path']
73-
) {
60+
$dynamicProperties = [
61+
'contentId',
62+
'path',
63+
]
64+
): array {
7465
return parent::getProperties($dynamicProperties);
7566
}
7667

src/lib/Repository/Values/ContentType/ContentTypeDraft.php

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,12 @@ class ContentTypeDraft extends APIContentTypeDraft
2323
{
2424
use MultiLanguageTrait;
2525

26-
/**
27-
* Function where list of properties are returned.
28-
*
29-
* Override to add dynamic properties
30-
*
31-
* @uses \parent::getProperties()
32-
*
33-
* @param array $dynamicProperties
34-
*
35-
* @return array
36-
*/
3726
protected function getProperties(
38-
$dynamicProperties = ['contentTypeGroups',
39-
'fieldDefinitions']
40-
) {
27+
$dynamicProperties = [
28+
'contentTypeGroups',
29+
'fieldDefinitions',
30+
]
31+
): array {
4132
return parent::getProperties($dynamicProperties);
4233
}
4334

src/lib/Repository/Values/User/User.php

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -106,23 +106,14 @@ public function getField(
106106
return $this->content->getField($fieldDefIdentifier, $languageCode);
107107
}
108108

109-
/**
110-
* Function where list of properties are returned.
111-
*
112-
* Override to add dynamic properties
113-
*
114-
* @uses \parent::getProperties()
115-
*
116-
* @param array $dynamicProperties
117-
*
118-
* @return array
119-
*/
120109
protected function getProperties(
121-
$dynamicProperties = ['id',
110+
$dynamicProperties = [
111+
'id',
122112
'contentInfo',
123113
'versionInfo',
124-
'fields']
125-
) {
114+
'fields',
115+
]
116+
): array {
126117
return parent::getProperties($dynamicProperties);
127118
}
128119

src/lib/Repository/Values/User/UserGroup.php

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -105,23 +105,14 @@ public function getField(
105105
return $this->content->getField($fieldDefIdentifier, $languageCode);
106106
}
107107

108-
/**
109-
* Function where list of properties are returned.
110-
*
111-
* Override to add dynamic properties
112-
*
113-
* @uses \parent::getProperties()
114-
*
115-
* @param array $dynamicProperties
116-
*
117-
* @return array
118-
*/
119108
protected function getProperties(
120-
$dynamicProperties = ['id',
109+
$dynamicProperties = [
110+
'id',
121111
'contentInfo',
122112
'versionInfo',
123-
'fields']
124-
) {
113+
'fields',
114+
]
115+
): array {
125116
return parent::getProperties($dynamicProperties);
126117
}
127118

0 commit comments

Comments
 (0)