| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function up() |
||
| 32 | { |
||
| 33 | $this->schema->create('oauth_auth_codes', function (Blueprint $table) { |
||
| 34 | $table->string('id', 100)->primary(); |
||
| 35 | $table->unsignedBigInteger('user_id')->index(); |
||
| 36 | $table->unsignedBigInteger('client_id'); |
||
| 37 | $table->text('scopes')->nullable(); |
||
| 38 | $table->boolean('revoked'); |
||
| 39 | $table->dateTime('expires_at')->nullable(); |
||
| 40 | }); |
||
| 41 | } |
||
| 42 | |||
| 63 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.