Explorar o código

:art: formatting

visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
ee37c19a9e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,