Skip to content

Commit 281ea87

Browse files
authored
Merge pull request #700 from kenjis/fix-docs-install.md
docs: small fixes for install.md
2 parents e6e6931 + 7091912 commit 281ea87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/install.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,14 @@ Require it with an explicit version constraint allowing its desired stability.
108108
There are a few setup items to do before you can start using Shield in
109109
your project.
110110

111-
1. Copy the **Auth.php** and **AuthGroups.php** from **vendor/codeigniter4/shield/src/Config/** into your project's config folder and update the namespace to `Config`. You will also need to have these classes extend the original classes. See the example below. These files contain all of the settings, group, and permission information for your application and will need to be modified to meet the needs of your site.
111+
1. Copy the **Auth.php** and **AuthGroups.php** from **vendor/codeigniter4/shield/src/Config/** into your project's config folder and update the namespace to `Config`. You will also need to have these classes extend the original classes. See the example below. These files contain all the settings, group, and permission information for your application and will need to be modified to meet the needs of your site.
112112

113113
```php
114114
// new file - app/Config/Auth.php
115115
<?php
116116

117+
declare(strict_types=1);
118+
117119
namespace Config;
118120

119121
// ...

0 commit comments

Comments
 (0)