@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Finder\Components\Processing; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | -use App\Models\User; |
|
| 7 | - |
|
| 8 | 5 | class CalculeStat |
| 9 | 6 | { |
| 10 | 7 | |
@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Finder\Components\Processing; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | -use App\Models\User; |
|
| 7 | - |
|
| 8 | 5 | class CollectDados |
| 9 | 6 | { |
| 10 | 7 | |
@@ -4,9 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use App\Board; |
| 6 | 6 | |
| 7 | -use Log; |
|
| 8 | -use App\Models\User; |
|
| 9 | - |
|
| 10 | 7 | class NewCommit |
| 11 | 8 | { |
| 12 | 9 | |
@@ -221,6 +221,10 @@ |
||
| 221 | 221 | |
| 222 | 222 | } |
| 223 | 223 | |
| 224 | + /** |
|
| 225 | + * @param string $cod |
|
| 226 | + * @param integer $type |
|
| 227 | + */ |
|
| 224 | 228 | protected static function insertBoard($cod, $classAfetada, $classAExecutar, $type) |
| 225 | 229 | { |
| 226 | 230 | $newBoard = new self($cod, $classAfetada, $classAExecutar, $type); |
@@ -5,8 +5,6 @@ |
||
| 5 | 5 | |
| 6 | 6 | namespace Finder\Components\View\Boards; |
| 7 | 7 | |
| 8 | -use Log; |
|
| 9 | - |
|
| 10 | 8 | class BusinessBoard extends Board |
| 11 | 9 | { |
| 12 | 10 | |
@@ -5,8 +5,6 @@ |
||
| 5 | 5 | |
| 6 | 6 | namespace Finder\Components\View\Editores; |
| 7 | 7 | |
| 8 | -use Log; |
|
| 9 | - |
|
| 10 | 8 | class TuiImageEditor |
| 11 | 9 | { |
| 12 | 10 | |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * Function to parse page for title tags |
| 60 | 60 | * |
| 61 | 61 | * @params string $data HTML of page |
| 62 | - * @return string|bool title of page of null if not found |
|
| 62 | + * @return string|null title of page of null if not found |
|
| 63 | 63 | */ |
| 64 | 64 | public function getTitleFromHtml($data) |
| 65 | 65 | { |
@@ -52,6 +52,9 @@ discard block |
||
| 52 | 52 | $this->crawler->executeJavaScript(); |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | + /** |
|
| 56 | + * @param string $html |
|
| 57 | + */ |
|
| 55 | 58 | protected function getAllLinks($html) |
| 56 | 59 | { |
| 57 | 60 | $domCrawler = new DomCrawler($html); |
@@ -61,6 +64,10 @@ discard block |
||
| 61 | 64 | ->extract(['href']) |
| 62 | 65 | ) |
| 63 | 66 | ->map( |
| 67 | + |
|
| 68 | + /** |
|
| 69 | + * @param string $url |
|
| 70 | + */ |
|
| 64 | 71 | function ($url) { |
| 65 | 72 | return Url::create($url); |
| 66 | 73 | } |
@@ -144,6 +144,7 @@ |
||
| 144 | 144 | * |
| 145 | 145 | * @params int $form ID of linking page |
| 146 | 146 | * @params int $to ID of target page |
| 147 | + * @param boolean $to |
|
| 147 | 148 | * @return int|bool LinkID on sucess, false on fail |
| 148 | 149 | */ |
| 149 | 150 | protected function saveLink($from, $to) |