Skip to content
Snippets Groups Projects
Commit 9a60bbed authored by Erick Hitter's avatar Erick Hitter
Browse files

Linting

parent 089c59b9
No related branches found
No related tags found
1 merge request!14Add native block-editor support
Pipeline #4813 passed with stages
in 2 minutes and 33 seconds
...@@ -14,10 +14,9 @@ const slug = 'external-permalinks-redux'; ...@@ -14,10 +14,9 @@ const slug = 'external-permalinks-redux';
/** /**
* Render panel view. * Render panel view.
* *
* @param {Object} props Component props. * @param {Object} props Component props.
* @param {string} props.postType Post type. * @param {string} props.postType Post type.
* @returns {JSX.Element|null} * @return {JSX.Element|null} Sidebar panel.
* @constructor
*/ */
const View = ( { postType } ) => { const View = ( { postType } ) => {
if ( ! postType ) { if ( ! postType ) {
......
...@@ -137,7 +137,7 @@ class TestClassExternalPermalinksReduxBlockEditor extends WP_UnitTestCase { ...@@ -137,7 +137,7 @@ class TestClassExternalPermalinksReduxBlockEditor extends WP_UnitTestCase {
*/ */
public function test__get_status_codes() { public function test__get_status_codes() {
$class = External_Permalinks_Redux_Block_Editor::get_instance(); $class = External_Permalinks_Redux_Block_Editor::get_instance();
$reflection = new \ReflectionClass( $class ); $reflection = new ReflectionClass( $class );
$method = $reflection->getMethod( '_get_status_codes' ); $method = $reflection->getMethod( '_get_status_codes' );
$method->setAccessible( true ); $method->setAccessible( true );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment