This commit is contained in:
DariusIII
2023-08-15 09:06:48 +02:00
parent 0adb806bed
commit ef616bf073
17 changed files with 3 additions and 59 deletions
-4
View File
@@ -50,9 +50,6 @@ class Books
public array $failCache;
/**
* @var \Blacklight\ColorCLI
*/
protected ColorCLI $colorCli;
/**
@@ -395,7 +392,6 @@ class Books
}
/**
* @param null $amazdata
* @return false|int|string
*
* @throws \Exception
-3
View File
@@ -55,9 +55,6 @@ class IRCScraper extends IRCClient
*/
protected mixed $_titleIgnoreRegex;
/**
* @var \Blacklight\ManticoreSearch
*/
protected manticoreSearch $manticoreSearch;
private ElasticSearchSiteSearch $elasticsearch;
-3
View File
@@ -28,9 +28,6 @@ class ManticoreSearch
public Search $search;
/**
* @var \Blacklight\ColorCLI
*/
private ColorCLI $cli;
/**
-1
View File
@@ -294,7 +294,6 @@ class Music
}
/**
* @param null $amazdata
* @return int|mixed
*
* @throws \Exception
+2
View File
@@ -474,6 +474,7 @@ class NNTP extends \Net_NNTP_Client
$data[$key] = $headerArray;
$iterator = 0;
}
// Return the array of headers.
return $data;
}
@@ -568,6 +569,7 @@ class NNTP extends \Net_NNTP_Client
if ($body !== '') {
return $body;
}
// Return the error.
return $newBody;
}
-7
View File
@@ -101,9 +101,6 @@ class NameFixer
protected string $fullall;
/**
* @var \Blacklight\ColorCLI
*/
public ColorCLI $colorCLI;
/**
@@ -118,9 +115,6 @@ class NameFixer
*/
public mixed $manticore;
/**
* @var \Blacklight\ColorCLI
*/
protected ColorCLI $colorCli;
private ElasticSearchSiteSearch $elasticsearch;
@@ -474,7 +468,6 @@ class NameFixer
* @param $time 1: 24 hours, 2: no time limit
* @param $echo 1: change the name, anything else: preview of what could have been changed.
* @param $cats 1: other categories, 2: all categories
* @param \Blacklight\NNTP $nntp
*
* @throws \Exception
*/
-3
View File
@@ -56,9 +56,6 @@ class Nfo
public const NFO_FOUND = 1; // Release has an NFO.
/**
* @var \Blacklight\ColorCLI
*/
protected ColorCLI $colorCli;
/**
-3
View File
@@ -42,9 +42,6 @@ class ReleaseImage
*/
public string $vidSavePath;
/**
* @var \Blacklight\ColorCLI
*/
protected ColorCLI $colorCli;
/**
-12
View File
@@ -42,9 +42,6 @@ class ReleaseRemover
*/
protected string $query;
/**
* @var \Blacklight\Releases
*/
protected Releases $releases;
/**
@@ -52,19 +49,10 @@ class ReleaseRemover
*/
protected array $result;
/**
* @var \Blacklight\NZB
*/
private NZB $nzb;
/**
* @var \Blacklight\ReleaseImage
*/
private ReleaseImage $releaseImage;
/**
* @var \Blacklight\ColorCLI
*/
protected ColorCLI $colorCli;
public function __construct()
-3
View File
@@ -23,9 +23,6 @@ class Releases extends Release
public const PASSWD_RAR = 1; // Definitely passworded.
/**
* @var \Blacklight\ManticoreSearch
*/
public ManticoreSearch $manticoreSearch;
public int $passwordStatus;
-3
View File
@@ -19,9 +19,6 @@ class Tmux
public $tmux_session;
/**
* @var \Blacklight\ColorCLI
*/
protected ColorCLI $colorCli;
/**
-9
View File
@@ -34,9 +34,6 @@ class XXX
protected string $imgSavePath;
/**
* @var \Blacklight\ReleaseImage
*/
protected ReleaseImage $releaseImage;
protected string|int|null $movieQty;
@@ -45,9 +42,6 @@ class XXX
protected string $cookie;
/**
* @var \Blacklight\ColorCLI
*/
protected ColorCLI $colorCli;
public function __construct()
@@ -282,9 +276,6 @@ class XXX
return array_column($res, 'title');
}
/**
* @param null $gid
*/
public function getGenres(bool $activeOnly = false, $gid = null): mixed
{
if ($activeOnly) {
+1
View File
@@ -84,6 +84,7 @@ class Utility
$options['capath'] = config('nntmux_ssl.ssl_capath');
}
}
// If we set the transport to tls and the server falls back to ssl,
// the context options would be for tls and would not apply to ssl,
// so set both tls and ssl context in case the server does not support tls.
-2
View File
@@ -268,8 +268,6 @@ if (! function_exists('is_it_json')) {
}
/**
* @return \STS\ZipStream\ZipStream
*
* @throws \Exception
*/
function getStreamingZip(array $guids = []): STS\ZipStream\ZipStream
@@ -8,8 +8,6 @@ use App\Jobs\SendContactUsEmail;
class ContactUsController extends BasePageController
{
/**
* @return null
*
* @throws \Illuminate\Validation\ValidationException
*/
public function contact(ContactContactURequest $request)
-3
View File
@@ -225,9 +225,6 @@ class UsenetGroup extends Model
return $res === null ? 0 : $res->count(['id']);
}
/**
* @param null $active
*/
public static function getGroupsRange(string $groupname = '', $active = null): LengthAwarePaginator
{
$groups = self::query()->groupBy('id')->orderBy('name');
-1
View File
@@ -404,7 +404,6 @@ function errorOnSQL()
}
/**
* @param \PDOStatement $ps
* @return bool|int|string
*/
function getTableRowCount(PDOStatement $ps, $table)