File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -590,7 +590,7 @@ public function paginate($pageSize = null, $currentPage = null)
590590 {
591591 $ pageConfig = array ();
592592 if ($ pageSize !== null ) {
593- $ pageConfig ['pageSize ' ] = $ pageSize ;
593+ $ pageConfig ['pageSize ' ] = intval ( $ pageSize) ;
594594 }
595595 if ($ currentPage !== null ) {
596596 $ pageConfig ['currentPage ' ] = $ currentPage ;
@@ -916,8 +916,8 @@ public function lockInShareMode()
916916 }
917917
918918 /**
919- * @see lockInShareMode
920919 * @return $this
920+ * @see lockInShareMode
921921 */
922922 public function sharedLock ()
923923 {
@@ -940,7 +940,7 @@ public function field($field)
940940 *
941941 * 如果捕获到任何异常, 将自动回滚事务后,继续抛出异常
942942 *
943- * @param \Closure $callback
943+ * @param \Closure $callback
944944 * @return mixed
945945 *
946946 * @throws \Throwable
You can’t perform that action at this time.
0 commit comments