Parse and validate AT Protocol Lexicons with DTO generation for Laravel
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix double blank lines after class brace for empty constructors

+6
+6
src/Generator/ClassGenerator.php
··· 107 107 'methods' => $methods, 108 108 ]); 109 109 110 + // Fix blank lines when there's no constructor or properties 111 + if (empty($properties) && empty($constructor)) { 112 + // Remove double blank lines after class opening brace 113 + $rendered = preg_replace('/\{\n\n\n/', "{\n", $rendered); 114 + } 115 + 110 116 // Execute post-generation hooks 111 117 $this->extensions->execute('action:class:generated', $rendered, $document); 112 118