Skip to content

Commit b7e5794

Browse files
authored
Merge pull request #1 from laravel-china/5.5
update from origin
2 parents 1a562a0 + d2b928d commit b7e5794

16 files changed

+1921
-937
lines changed

authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ Laravel 内置的控制器 `LoginController` 已经包含了 `Illuminate\Foundat
359359

360360
namespace App\Providers;
361361

362-
use App\Services\Auth\JwtGuard;
362+
use App\Services\Auth\JwtGuard;
363363
use Illuminate\Support\Facades\Auth;
364364
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
365365

cache.md

Lines changed: 268 additions & 205 deletions
Large diffs are not rendered by default.

database-testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Laravel 为你的 [PHPUnit](https://phpunit.de/) 测试提供了一些数据库
243243

244244
方法名 | 描述
245245
------------- | -------------
246-
`$this->assertDatabaseHas($table, array $data);` | 断言数据库里含有指定表
246+
`$this->assertDatabaseHas($table, array $data);` | 断言数据库里含有指定数据
247247
`$this->assertDatabaseMissing($table, array $data);` | 断言表里没有指定数据。
248248
`$this->assertSoftDeleted($table, array $data);` | 断言指定记录已经被软删除。
249249

@@ -254,4 +254,4 @@ Laravel 为你的 [PHPUnit](https://phpunit.de/) 测试提供了一些数据库
254254
>
255255
> 转载请注明:本文档由 Laravel China 社区 [laravel-china.org](https://laravel-china.org) 组织翻译,详见 [翻译召集帖](https://laravel-china.org/topics/5756/laravel-55-document-translation-call-come-and-join-the-translation)
256256
>
257-
> 文档永久地址: https://d.laravel-china.org
257+
> 文档永久地址: https://d.laravel-china.org

eloquent-serialization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
}
127127
}
128128

129-
访问器创建成功后,只需添加该属性到改模型的 `appends` 属性中。注意,属性名称通常遵循 「Snake Case」, 的命名方式,即是访问器的名称是基于 「Camel Case」 的命名方式。
129+
访问器创建成功后,只需添加该属性到该模型的 `appends` 属性中。注意,属性名称通常遵循 「Snake Case」, 的命名方式,即是访问器的名称是基于 「Camel Case」 的命名方式。
130130

131131
<?php
132132

@@ -158,4 +158,4 @@
158158
>
159159
> 转载请注明:本文档由 Laravel China 社区 [laravel-china.org](https://laravel-china.org) 组织翻译,详见 [翻译召集帖](https://laravel-china.org/topics/5756/laravel-55-document-translation-call-come-and-join-the-translation)
160160
>
161-
> 文档永久地址: https://d.laravel-china.org
161+
> 文档永久地址: https://d.laravel-china.org

0 commit comments

Comments
 (0)