File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public function getTargetTable(): string
110110 *
111111 * @return int The total record count.
112112 */
113- public function getTotalCount (): int
113+ public function getTotalCount (): ? int
114114 {
115115 return ($ this ->dataInfo && property_exists ($ this ->dataInfo , 'totalRecordCount ' )) ?
116116 $ this ->dataInfo ->totalRecordCount : null ;
@@ -122,7 +122,7 @@ public function getTotalCount(): int
122122 *
123123 * @return int The founded record count.
124124 */
125- public function getFoundCount (): int
125+ public function getFoundCount (): ? int
126126 {
127127 return ($ this ->dataInfo ) ? $ this ->dataInfo ->foundCount : null ;
128128 }
@@ -133,7 +133,7 @@ public function getFoundCount(): int
133133 *
134134 * @return int The returned record count.
135135 */
136- public function getReturnedCount (): int
136+ public function getReturnedCount (): ? int
137137 {
138138 return ($ this ->dataInfo ) ? $ this ->dataInfo ->returnedCount : null ;
139139 }
You can’t perform that action at this time.
0 commit comments