Skip to content

Commit b1c3d1f

Browse files
committed
Fix CS.
1 parent 3a0618d commit b1c3d1f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Converter.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public function __construct(bool $safeMode = true, string $postProfile = 'articl
4343
/**
4444
* Get or create a converter for the specified profile.
4545
*
46+
* @param string $profileName
47+
* @param bool $safeMode
4648
* @param string $context Context name for filters: 'article' or 'comment'
4749
*/
4850
private function getProfileConverter(string $profileName, bool $safeMode, string $context = 'article'): DjotConverter
@@ -62,13 +64,13 @@ private function getProfileConverter(string $profileName, bool $safeMode, string
6264

6365
// Allow customization via WordPress filters
6466
if (function_exists('apply_filters')) {
65-
/** @var DjotConverter $converter */
67+
/** @var \Djot\DjotConverter $converter */
6668
$converter = apply_filters('wp_djot_converter', $converter, $context);
6769

6870
// Post-type specific filter
6971
$postType = function_exists('get_post_type') ? get_post_type() : null;
7072
if ($postType) {
71-
/** @var DjotConverter $converter */
73+
/** @var \Djot\DjotConverter $converter */
7274
$converter = apply_filters("wp_djot_converter_{$postType}", $converter, $context);
7375
}
7476
}

0 commit comments

Comments
 (0)