Compare commits
	
		
			2 Commits
		
	
	
		
			3f8cbcd1e2
			...
			40ceb7a86c
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 40ceb7a86c | |||
| 8e52c2128c | 
@@ -23,7 +23,7 @@ class command
 | 
				
			|||||||
     */
 | 
					     */
 | 
				
			||||||
    public function __construct(
 | 
					    public function __construct(
 | 
				
			||||||
        public Closure $program,
 | 
					        public Closure $program,
 | 
				
			||||||
        public array $accounts
 | 
					        public array $accounts = []
 | 
				
			||||||
    ) {
 | 
					    ) {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -47,7 +47,7 @@ class core
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Запись в реестр
 | 
					        // Запись в реестр
 | 
				
			||||||
        $this->patterns .= [$pattern];
 | 
					        $this->patterns []= [$pattern];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return $pattern;
 | 
					        return $pattern;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -39,7 +39,7 @@ class pattern
 | 
				
			|||||||
    public function command(command $command): static
 | 
					    public function command(command $command): static
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        // Запись в реестр
 | 
					        // Запись в реестр
 | 
				
			||||||
        $this->commands .= [$command];
 | 
					        $this->commands []= [$command];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return $this;
 | 
					        return $this;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user