Skip to content

Commit ccec037

Browse files
committed
feat: update data types
1 parent 6846d4c commit ccec037

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

templates/php/src/Query.php.twig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,40 +91,40 @@ class Query
9191
/**
9292
* Cursor After
9393
*
94-
* @param String $documentId
94+
* @param string $documentId
9595
* @return string
9696
*/
97-
public static function cursorAfter(String $documentId): string {
97+
public static function cursorAfter(string $documentId): string {
9898
return 'cursorAfter("' . $documentId . '")';
9999
}
100100
101101
/**
102102
* Cursor Before
103103
*
104-
* @param String $documentId
104+
* @param string $documentId
105105
* @return string
106106
*/
107-
public static function cursorBefore(String $documentId): string {
107+
public static function cursorBefore(string $documentId): string {
108108
return 'cursorBefore("' . $documentId . '")';
109109
}
110110
111111
/**
112112
* Order Asc
113113
*
114-
* @param String $attribute
114+
* @param string $attribute
115115
* @return string
116116
*/
117-
public static function orderAsc(String $attribute): string {
117+
public static function orderAsc(string $attribute): string {
118118
return 'orderAsc("' . $attribute . '")';
119119
}
120120
121121
/**
122122
* Order Desc
123123
*
124-
* @param String $attribute
124+
* @param string $attribute
125125
* @return string
126126
*/
127-
public static function orderDesc(String $attribute): string {
127+
public static function orderDesc(string $attribute): string {
128128
return 'orderDesc("' . $attribute . '")';
129129
}
130130

0 commit comments

Comments
 (0)