Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merged DTOs & DataObjects namespaces
  • Loading branch information
gwleuverink committed Sep 26, 2025
commit 118eb5c1d52dae53f7e16bc762729498c213943f
2 changes: 1 addition & 1 deletion src/Contracts/QueueWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Native\Desktop\Contracts;

use Native\Desktop\DTOs\QueueConfig;
use Native\Desktop\DataObjects\QueueConfig;

interface QueueWorker
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Native\Desktop\DTOs;
namespace Native\Desktop\DataObjects;

class QueueConfig
{
Expand Down
2 changes: 1 addition & 1 deletion src/Facades/QueueWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Illuminate\Support\Facades\Facade;
use Native\Desktop\Contracts\QueueWorker as QueueWorkerContract;
use Native\Desktop\DTOs\QueueConfig;
use Native\Desktop\DataObjects\QueueConfig;
use Native\Desktop\Fakes\QueueWorkerFake;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Fakes/QueueWorkerFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Closure;
use Native\Desktop\Contracts\QueueWorker as QueueWorkerContract;
use Native\Desktop\DTOs\QueueConfig;
use Native\Desktop\DataObjects\QueueConfig;
use PHPUnit\Framework\Assert as PHPUnit;

class QueueWorkerFake implements QueueWorkerContract
Expand Down
2 changes: 1 addition & 1 deletion src/NativeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
use Native\Desktop\Contracts\PowerMonitor as PowerMonitorContract;
use Native\Desktop\Contracts\QueueWorker as QueueWorkerContract;
use Native\Desktop\Contracts\WindowManager as WindowManagerContract;
use Native\Desktop\DataObjects\QueueConfig;
use Native\Desktop\Drivers\Electron\ElectronServiceProvider;
use Native\Desktop\DTOs\QueueConfig;
use Native\Desktop\Events\EventWatcher;
use Native\Desktop\Exceptions\Handler;
use Native\Desktop\GlobalShortcut as GlobalShortcutImplementation;
Expand Down
2 changes: 1 addition & 1 deletion src/QueueWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Native\Desktop\Contracts\ChildProcess as ChildProcessContract;
use Native\Desktop\Contracts\QueueWorker as QueueWorkerContract;
use Native\Desktop\DTOs\QueueConfig;
use Native\Desktop\DataObjects\QueueConfig;

class QueueWorker implements QueueWorkerContract
{
Expand Down
2 changes: 1 addition & 1 deletion tests/DTOs/QueueWorkerTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use Illuminate\Support\Arr;
use Native\Desktop\DTOs\QueueConfig;
use Native\Desktop\DataObjects\QueueConfig;

test('the factory method generates an array of config objects for several formats', function (array $config) {
$configObject = QueueConfig::fromConfigArray($config);
Expand Down
2 changes: 1 addition & 1 deletion tests/Fakes/FakeQueueWorkerTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use Native\Desktop\Contracts\QueueWorker as QueueWorkerContract;
use Native\Desktop\DTOs\QueueConfig;
use Native\Desktop\DataObjects\QueueConfig;
use Native\Desktop\Facades\QueueWorker;
use Native\Desktop\Fakes\QueueWorkerFake;
use PHPUnit\Framework\AssertionFailedError;
Expand Down
2 changes: 1 addition & 1 deletion tests/QueueWorker/QueueWorkerTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Native\Desktop\DTOs\QueueConfig;
use Native\Desktop\DataObjects\QueueConfig;
use Native\Desktop\Facades\ChildProcess;
use Native\Desktop\Facades\QueueWorker;

Expand Down