回答編集履歴

1

コード微修正

2019/07/01 12:28

投稿

aro10
aro10

スコア4106

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  ['user_id', $user_id],
12
12
 
13
- ['departure_at', now,
13
+ ['departure_at', $now,
14
14
 
15
15
  ['last_datetime', '<', $limit],
16
16
 
@@ -18,7 +18,7 @@
18
18
 
19
19
  ->update([
20
20
 
21
- 'departure_at' => now,
21
+ 'departure_at' => $now,
22
22
 
23
23
  ]);
24
24