From 9a60bbedd54f22d97792c3f7b1159b01cb049563 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sat, 11 Jun 2022 21:53:21 -0700
Subject: [PATCH] Linting

---
 assets/src/js/index.js                                      | 5 ++---
 tests/test-class-external-permalinks-redux-block-editor.php | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/assets/src/js/index.js b/assets/src/js/index.js
index cb93d5d..980a49e 100644
--- a/assets/src/js/index.js
+++ b/assets/src/js/index.js
@@ -14,10 +14,9 @@ const slug = 'external-permalinks-redux';
 /**
  * Render panel view.
  *
- * @param {Object} props Component props.
+ * @param {Object} props          Component props.
  * @param {string} props.postType Post type.
- * @returns {JSX.Element|null}
- * @constructor
+ * @return {JSX.Element|null} Sidebar panel.
  */
 const View = ( { postType } ) => {
 	if ( ! postType ) {
diff --git a/tests/test-class-external-permalinks-redux-block-editor.php b/tests/test-class-external-permalinks-redux-block-editor.php
index 9f3c2ef..43fd081 100644
--- a/tests/test-class-external-permalinks-redux-block-editor.php
+++ b/tests/test-class-external-permalinks-redux-block-editor.php
@@ -137,7 +137,7 @@ class TestClassExternalPermalinksReduxBlockEditor extends WP_UnitTestCase {
 	 */
 	public function test__get_status_codes() {
 		$class      = External_Permalinks_Redux_Block_Editor::get_instance();
-		$reflection = new \ReflectionClass( $class );
+		$reflection = new ReflectionClass( $class );
 
 		$method = $reflection->getMethod( '_get_status_codes' );
 		$method->setAccessible( true );
-- 
GitLab