Skip to content

Commit

Permalink
Fix: Namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rizwan3d3 committed Sep 28, 2023
1 parent 5b8c1ab commit 135429a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"autoload": {
"psr-4": {
"ValidationMyPhp\\": "src/ValidationMyPhp/"
"Rizwan3D\\ValidationMyPhp\\": "src/ValidationMyPhp/"
}
}
}
2 changes: 1 addition & 1 deletion example.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

require_once('src/ValidationMyPhp/Validation.php');

use ValidationMyPhp\Validation;
use Rizwan3D\ValidationMyPhp\Validation;

Validation::$DB_HOST = '127.0.0.1';
Validation::$DB_NAME = 'database';
Expand Down
2 changes: 1 addition & 1 deletion src/ValidationMyPhp/Validation.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace ValidationMyPhp;
namespace Rizwan3D\ValidationMyPhp;

use PDO;

Expand Down

0 comments on commit 135429a

Please sign in to comment.