Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonygauthier committed Mar 28, 2019
1 parent de39c30 commit 54f961f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# export MYSQL_HOST=167.114.128.82 && export MYSQL_USERNAME=ag325 && export MYSQL_PASSWORD=a_password123! && export MYSQL_DATABASE=testdb && export MYSQL_PORT=3306
# export DB_HOST=167.114.128.82 && export DB_USERNAME=ag325 && export DB_PASSWORD=a_password123! && export DB_DATABASE=testdb && export DB_PORT=3306
2 changes: 1 addition & 1 deletion src/MySimpleORM/Mapper/ObjectMapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function mapObject(&$obj, $rows, &$objArr = null)

foreach ($rows as $row) {
// reset the object reference
$class = get_class($o);
$class = get_class($obj);
$this->Object = new $class();

foreach ($attributes as $key => $attribute) {
Expand Down

0 comments on commit 54f961f

Please sign in to comment.