浏览代码

Style-ci fixes

Marnu Lombard 5 年之前
父节点
当前提交
2901a02e7b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/Tools/Generator.php

+ 3 - 3
src/Tools/Generator.php

@@ -131,7 +131,7 @@ class Generator
                 return $tag instanceof Tag && $tag->getName() === 'bodyParam';
             })
             ->filter(function (Tag $tag) {
-                return !$this->shouldExcludeExample($tag);
+                return ! $this->shouldExcludeExample($tag);
             })
             ->mapWithKeys(function ($tag) {
                 preg_match('/(.+?)\s+(.+?)\s+(required\s+)?(.*)/', $tag->getContent(), $content);
@@ -209,7 +209,7 @@ class Generator
                 return $tag instanceof Tag && $tag->getName() === 'queryParam';
             })
             ->filter(function (Tag $tag) {
-                return !$this->shouldExcludeExample($tag);
+                return ! $this->shouldExcludeExample($tag);
             })
             ->mapWithKeys(function ($tag) {
                 preg_match('/(.+?)\s+(required\s+)?(.*)/', $tag->getContent(), $content);
@@ -375,7 +375,7 @@ class Generator
 
     /**
      * Allows users to specify that we shouldn't generate an example for the parameter
-     * by writing 'No-example'
+     * by writing 'No-example'.
      *
      * @param Tag $tag
      *