We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f01500 + 3934da2 commit 8be228aCopy full SHA for 8be228a
src/Shortcode.php
@@ -76,7 +76,7 @@ public function atts(): array
76
}
77
78
/**
79
- * Validate and return attributes
+ * Validate and return attributes.
80
*
81
* @param array $rules
82
* @return array
tests/Unit/ShortcodeTest.php
@@ -48,7 +48,7 @@ public function testValidation()
48
try {
49
$shortcode->render(null);
50
$this->fail('Expected ValidationException not thrown');
51
- } catch(ValidationException $e) {
+ } catch (ValidationException $e) {
52
$this->assertCount(3, $e->errors());
53
54
0 commit comments