@@ -48,20 +48,20 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | //Now, let's get our custom boot list. |
| 50 | 50 | //Let's assign the final state to our booterList list along with our custom boot list. |
| 51 | - foreach (array_keys($this->getBootDirectory()) as $customBoots){
|
|
| 51 | + foreach (array_keys($this->getBootDirectory()) as $customBoots) {
|
|
| 52 | 52 | |
| 53 | 53 | //We assign the namespace data of the bootable class to the bootNamespace property. |
| 54 | - $this->bootNamespace=''.StaticPathList::$boot.'\\'.$customBoots; |
|
| 54 | + $this->bootNamespace = ''.StaticPathList::$boot.'\\'.$customBoots; |
|
| 55 | 55 | |
| 56 | 56 | //Your custom boot objects in |
| 57 | 57 | //the boot directory should not be in the middlewaregroups list. |
| 58 | - if(false===app()->console() && !in_array($this->bootNamespace,$booterList)){
|
|
| 58 | + if (false===app()->console() && !in_array($this->bootNamespace, $booterList)) {
|
|
| 59 | 59 | $this->booterManifest(); |
| 60 | 60 | } |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | //The booterList property combines booterList variables. |
| 64 | - return array_merge($booterList,$this->booterList); |
|
| 64 | + return array_merge($booterList, $this->booterList); |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | {
|
| 73 | 73 | //if the boot list belongs to the custom booter, |
| 74 | 74 | //then we can boot our custom boot objects by adding them at the end of this class. |
| 75 | - if(array_pop($booter)==$this->customBooter){
|
|
| 75 | + if (array_pop($booter)==$this->customBooter) {
|
|
| 76 | 76 | return $this->addCustomBooter(); |
| 77 | 77 | } |
| 78 | 78 | |