Skip to content

Commit

Permalink
Merge pull request #12 from n4ss1m/master
Browse files Browse the repository at this point in the history
support last Laravel version
  • Loading branch information
kossa authored Apr 15, 2023
2 parents b2a7df6 + 9269e44 commit aaf5b64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
],
"homepage": "https://github.com/kossa/algerian-cities",
"require": {
"php": "^7.2|^8.0|^8.1",
"laravel/framework": "^5.0|^6.0|^7.0|^8.0|^9.0"
"php": "^8.0|^8.1|^8.2",
"laravel/framework": "^9.0|^10.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
Expand Down
5 changes: 2 additions & 3 deletions database/migrations/create_cities_table.php.stub
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php
namespace Database\Migrations;

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateCitiesTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
Expand Down Expand Up @@ -49,4 +48,4 @@ class CreateCitiesTable extends Migration
Schema::dropIfExists('communes');
Schema::dropIfExists('wilayas');
}
}
};

0 comments on commit aaf5b64

Please sign in to comment.