Deprecate singleOrFail() in favour of sole()
This commit is contained in:
@@ -33,7 +33,7 @@ class NodesNew extends Command
|
||||
*/
|
||||
public function handle(): int
|
||||
{
|
||||
$do = Domain::where('name',$this->argument('domain'))->singleOrFail();
|
||||
$do = Domain::where('name',$this->argument('domain'))->sole();
|
||||
$ao = NULL;
|
||||
|
||||
if ($this->option('netmail')) {
|
||||
|
Reference in New Issue
Block a user