소스 검색

:art: formatting

visuddhinanda 2 년 전
부모
커밋
ee37c19a9e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Resources/SentResource.php

+ 1 - 1
app/Http/Resources/SentResource.php

@@ -52,7 +52,7 @@ class SentResource extends JsonResource
                                              $channel['type'],
                                              $this->content_type);
         }
-        if($request->get('mode')==="edit" || $request->get('mode')==="wbw"){
+        if($request->get('mode') === "edit" || $request->get('mode') === "wbw"){
             $data['suggestionCount'] = SuggestionApi::getCountBySent($this->book_id,
                                                                    $this->paragraph,
                                                                    $this->word_start,