Skip to content

Commit 9105123

Browse files
committed
Normalize code
1 parent de77c6c commit 9105123

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/components/tinymcerte/docs/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121

2222
### Fixed
2323

24-
- Fix `max_height` system setting not casted right
24+
- Fix `max_height` system setting not cast right
2525

2626
## [2.0.8] - 2022-08-01
2727

core/components/tinymcerte/model/tinymcerte/tinymcerte.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @subpackage classfile
77
*/
88

9-
require_once dirname(dirname(__DIR__)) . '/vendor/autoload.php';
9+
require_once dirname(__DIR__, 2) . '/vendor/autoload.php';
1010

1111
/**
1212
* Class TinyMCERTE

core/components/tinymcerte/src/Plugins/Events/OnRichTextEditorInit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private function getTinyConfig()
100100
}
101101

102102
/** @var modResource $resource */
103-
$resource = $this->modx->getOption('resource', $this->scriptProperties, null);
103+
$resource = $this->modx->getOption('resource', $this->scriptProperties);
104104
if ($resource && $resource->get('context_key')) {
105105
$context = $this->modx->getContext($resource->get('context_key'));
106106
$documentBaseUrl = $context->getOption('site_url');

0 commit comments

Comments
 (0)