From bf4509d9de7a74405d58cb67f5eeaa4dc25e85b5 Mon Sep 17 00:00:00 2001 From: nikita tarasov Date: Fri, 14 Jul 2023 08:58:11 +0300 Subject: [PATCH] fix typo --- .github/workflows/grumphp.yml | 2 +- src/Jeeves/Console/Application.php | 2 +- src/Jeeves/Model/Acl.php | 28 ++++++++++++++-------------- src/Jeeves/Model/Crud.php | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/grumphp.yml b/.github/workflows/grumphp.yml index f69b953..534f9f2 100644 --- a/.github/workflows/grumphp.yml +++ b/.github/workflows/grumphp.yml @@ -23,7 +23,7 @@ jobs: - '8.1' # - '8.2' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 diff --git a/src/Jeeves/Console/Application.php b/src/Jeeves/Console/Application.php index 5cd2579..d67be1d 100644 --- a/src/Jeeves/Console/Application.php +++ b/src/Jeeves/Console/Application.php @@ -15,7 +15,7 @@ class Application extends BaseApplication { public const GEN = 'generate'; public const DS = DIRECTORY_SEPARATOR; - public const VERSION = '1.0.0-rc.3'; + public const VERSION = '1.0.0-rc.4'; public const NAME = 'Jeeves'; /** diff --git a/src/Jeeves/Model/Acl.php b/src/Jeeves/Model/Acl.php index 519b25a..9d2c02c 100644 --- a/src/Jeeves/Model/Acl.php +++ b/src/Jeeves/Model/Acl.php @@ -30,18 +30,18 @@ public function getChildren(): ?array return $this->children; } -// public function setId(string $id) -// { -// $this->id = $id; -// } -// -// public function setTitle(string $title) -// { -// $this->title = $title; -// } -// -// public function setChildren(array $children) -// { -// $this->children = $children; -// } + // public function setId(string $id) + // { + // $this->id = $id; + // } + // + // public function setTitle(string $title) + // { + // $this->title = $title; + // } + // + // public function setChildren(array $children) + // { + // $this->children = $children; + // } } diff --git a/src/Jeeves/Model/Crud.php b/src/Jeeves/Model/Crud.php index d7c1497..483ef5a 100644 --- a/src/Jeeves/Model/Crud.php +++ b/src/Jeeves/Model/Crud.php @@ -119,7 +119,7 @@ private function generateEntities(array $entities, Module $mod): Crud\Result $entity->setConfig($config); - if ($entity->hasApi()) { + if ($entity->hasGui()) { $gui = true; }