Skip to content

Commit

Permalink
Reverting In Favor Of More Formal Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenikkusu committed Apr 20, 2022
1 parent 005c201 commit ef2fdad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
3 changes: 2 additions & 1 deletion phalcon/Db/Adapter/Pdo/Mysql.zep
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,8 @@ class Mysql extends PdoAdapter
"columns" : arrayReference["columns"],
"referencedColumns" : arrayReference["referencedColumns"],
"onUpdate" : arrayReference["onUpdate"],
"onDelete" : arrayReference["onDelete"]
"onDelete" : arrayReference["onDelete"],
"schema" : schema
]
);
}
Expand Down
14 changes: 2 additions & 12 deletions phalcon/Db/Reference.zep
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ class Reference implements ReferenceInterface
/**
* Schema name
*
* @var string|null
* @var string
*/
protected schemaName;
protected schemaName { get };

/**
* ON DELETE
Expand Down Expand Up @@ -141,14 +141,4 @@ class Reference implements ReferenceInterface
);
}
}

/**
* Schema name
*
* @var string|null
*/
public function getSchemaName() -> string | null
{
return this->schemaName;
}
}

0 comments on commit ef2fdad

Please sign in to comment.