Skip to content

Commit e75d332

Browse files
authored
Merge pull request #1497 from BeMySlaveDarlin/fix/issue-1297-removed-get-source-method
ISSUE-1297: Removed getSource() method due to final implementation
2 parents fa9bfbe + f1ae3aa commit e75d332

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
- Fixed optional options (namespace, abstract) checks on model create [#1491](https://github.com/phalcon/phalcon-devtools/issues/1491)
66
- Fixed wrong request filtering [#1468](https://github.com/phalcon/phalcon-devtools/issues/1468)
77
- Fixed empty namespace generation [#1467](https://github.com/phalcon/phalcon-devtools/issues/1467)
8+
- Removed `model->getSource()` method generation due to its becoming final in `Phalcon\Mvc\Model` [#1297](https://github.com/phalcon/phalcon-devtools/issues/1297)
9+
810

911
# [4.0.5](https://github.com/phalcon/cphalcon/releases/tag/v4.0.5) (2021-03-14)
1012
## Fixed

src/Builder/Component/Model.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,6 @@ public function build(): void
226226
}
227227
}
228228

229-
$possibleMethods['getSource'] = true;
230-
231229
/** @noinspection PhpIncludeInspection */
232230
require_once $modelPath;
233231

0 commit comments

Comments
 (0)