@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | 'titre' => $volume->title, |
| 41 | 41 | 'sous-titre' => $this->filterSubtitle($volume), |
| 42 | 42 | 'année' => $this->convertDate2Year($volume->publishedDate), |
| 43 | - 'pages totales' => (string)$volume->pageCount ?? null, |
|
| 43 | + 'pages totales' => (string) $volume->pageCount ?? null, |
|
| 44 | 44 | 'isbn' => $this->convertIsbn($volume), |
| 45 | 45 | 'présentation en ligne' => $this->presentationEnLigne($volume), |
| 46 | 46 | 'lire en ligne' => $this->lireEnLigne($volume), |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | return null; |
| 74 | 74 | } |
| 75 | 75 | if (preg_match('/[^0-9]?([12][0-9]{3})[^0-9]?/', $data, $matches) > 0) { |
| 76 | - return (string)$matches[1]; |
|
| 76 | + return (string) $matches[1]; |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | return null; |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | // so isbn-13 replace isbn-10 |
| 93 | 93 | // todo refac algo (if 2x isbn13?) |
| 94 | 94 | $isbn = null; |
| 95 | - $ids = (array)$volume->industryIdentifiers; |
|
| 95 | + $ids = (array) $volume->industryIdentifiers; |
|
| 96 | 96 | foreach ($ids as $id) { |
| 97 | 97 | if (!isset($isbn) && in_array($id->type, ['ISBN_10', 'ISBN_13'])) { |
| 98 | 98 | $isbn = $id->identifier; |