diff --git a/src/Shortcode.php b/src/Shortcode.php index 40cde1f..bef2578 100644 --- a/src/Shortcode.php +++ b/src/Shortcode.php @@ -76,7 +76,7 @@ public function atts(): array } /** - * Validate and return attributes + * Validate and return attributes. * * @param array $rules * @return array diff --git a/tests/Unit/ShortcodeTest.php b/tests/Unit/ShortcodeTest.php index 074f111..c5df012 100644 --- a/tests/Unit/ShortcodeTest.php +++ b/tests/Unit/ShortcodeTest.php @@ -48,7 +48,7 @@ public function testValidation() try { $shortcode->render(null); $this->fail('Expected ValidationException not thrown'); - } catch(ValidationException $e) { + } catch (ValidationException $e) { $this->assertCount(3, $e->errors()); } }