Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Algolia.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Illuminate\Contracts\Container\Container;
use function is_string;

final class Algolia
class Algolia
{
/**
* @var \Illuminate\Contracts\Container\Container
Expand Down
2 changes: 1 addition & 1 deletion src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use function is_callable;
use Laravel\Scout\Builder as BaseBuilder;

final class Builder extends BaseBuilder
class Builder extends BaseBuilder
{
/**
* @var Collection
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/FlushCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use Algolia\ScoutExtended\Helpers\SearchableFinder;
use Illuminate\Console\Command;

final class FlushCommand extends Command
class FlushCommand extends Command
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/ImportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Illuminate\Support\Collection;
use Laravel\Scout\Events\ModelsImported;

final class ImportCommand extends Command
class ImportCommand extends Command
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/MakeAggregatorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

use Illuminate\Console\GeneratorCommand;

final class MakeAggregatorCommand extends GeneratorCommand
class MakeAggregatorCommand extends GeneratorCommand
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/OptimizeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use Algolia\ScoutExtended\Settings\LocalFactory;
use Illuminate\Console\Command;

final class OptimizeCommand extends Command
class OptimizeCommand extends Command
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/ReImportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use function count;
use Illuminate\Console\Command;

final class ReImportCommand extends Command
class ReImportCommand extends Command
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/StatusCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use function count;
use Illuminate\Console\Command;

final class StatusCommand extends Command
class StatusCommand extends Command
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Commands/SyncCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Algolia\ScoutExtended\Settings\Synchronizer;
use Illuminate\Console\Command;

final class SyncCommand extends Command
class SyncCommand extends Command
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/ModelNotDefinedInAggregatorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use RuntimeException;
use Throwable;

final class ModelNotDefinedInAggregatorException extends RuntimeException
class ModelNotDefinedInAggregatorException extends RuntimeException
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/ModelNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @internal
*/
final class ModelNotFoundException extends RuntimeException
class ModelNotFoundException extends RuntimeException
{
/**
* Name of the affected model.
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/SettingsNotFound.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Exception;
use Throwable;

final class SettingsNotFound extends Exception
class SettingsNotFound extends Exception
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/ShouldReimportSearchableException.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

use RuntimeException;

final class ShouldReimportSearchableException extends RuntimeException
class ShouldReimportSearchableException extends RuntimeException
{
}
2 changes: 1 addition & 1 deletion src/Facades/Algolia.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
* @see \Algolia\ScoutExtended\Algolia
*/
final class Algolia extends Facade
class Algolia extends Facade
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/SearchableFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* @internal
*/
final class SearchableFinder
class SearchableFinder
{
/**
* @var array
Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/DeleteJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* @internal
*/
final class DeleteJob
class DeleteJob
{
/**
* @var \Illuminate\Support\Collection
Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/UpdateJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
/**
* @internal
*/
final class UpdateJob
class UpdateJob
{
/**
* Contains a list of splittables searchables.
Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/ApiKeysRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* @internal
*/
final class ApiKeysRepository
class ApiKeysRepository
{
/**
* Holds the search key.
Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/LocalSettingsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* @internal
*/
final class LocalSettingsRepository implements LocalSettingsRepositoryContract
class LocalSettingsRepository implements LocalSettingsRepositoryContract
{
/**
* @var \Algolia\ScoutExtended\Repositories\RemoteSettingsRepository
Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/RemoteSettingsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* @internal
*/
final class RemoteSettingsRepository
class RemoteSettingsRepository
{
/**
* Settings that may be know by other names.
Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/UserDataRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @internal
*/
final class UserDataRepository
class UserDataRepository
{
/**
* @var \Algolia\ScoutExtended\Repositories\RemoteSettingsRepository
Expand Down
2 changes: 1 addition & 1 deletion src/ScoutExtendedServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
use Illuminate\Support\ServiceProvider;
use Laravel\Scout\ScoutServiceProvider;

final class ScoutExtendedServiceProvider extends ServiceProvider
class ScoutExtendedServiceProvider extends ServiceProvider
{
/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion src/Searchable/AggregatorCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* @method static void searchable()
*/
final class AggregatorCollection extends Collection
class AggregatorCollection extends Collection
{
use SerializesAndRestoresModelIdentifiers;

Expand Down
2 changes: 1 addition & 1 deletion src/Searchable/AggregatorObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use function get_class;
use Laravel\Scout\ModelObserver as BaseModelObserver;

final class AggregatorObserver extends BaseModelObserver
class AggregatorObserver extends BaseModelObserver
{
/**
* @var array [
Expand Down
2 changes: 1 addition & 1 deletion src/Searchable/ModelsResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/**
* @internal
*/
final class ModelsResolver
class ModelsResolver
{
/**
* @var string[]
Expand Down
2 changes: 1 addition & 1 deletion src/Searchable/RecordsCounter.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* @internal
*/
final class RecordsCounter
class RecordsCounter
{
/**
* Get the number of local searchable records of
Expand Down
2 changes: 1 addition & 1 deletion src/Settings/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* @internal
*/
final class Compiler
class Compiler
{
/**
* Array of opening and closing tags for raw echos.
Expand Down
2 changes: 1 addition & 1 deletion src/Settings/Encrypter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* @internal
*/
final class Encrypter
class Encrypter
{
/**
* @param \Algolia\ScoutExtended\Settings\Settings $settings
Expand Down
2 changes: 1 addition & 1 deletion src/Settings/LocalFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* @internal
*/
final class LocalFactory
class LocalFactory
{
/**
* @var \Algolia\ScoutExtended\Repositories\RemoteSettingsRepository
Expand Down
2 changes: 1 addition & 1 deletion src/Settings/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @internal
*/
final class Settings
class Settings
{
/**
* @var array
Expand Down
2 changes: 1 addition & 1 deletion src/Settings/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* @internal
*/
final class Status
class Status
{
/**
* @var \Algolia\ScoutExtended\Settings\Encrypter
Expand Down
2 changes: 1 addition & 1 deletion src/Transformers/ConvertDatesToTimestamps.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

use Algolia\ScoutExtended\Contracts\TransformerContract;

final class ConvertDatesToTimestamps implements TransformerContract
class ConvertDatesToTimestamps implements TransformerContract
{
/**
* Converts the given array numeric strings to numbers.
Expand Down
2 changes: 1 addition & 1 deletion src/Transformers/ConvertNumericStringsToNumbers.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Algolia\ScoutExtended\Contracts\TransformerContract;
use function is_string;

final class ConvertNumericStringsToNumbers implements TransformerContract
class ConvertNumericStringsToNumbers implements TransformerContract
{
/**
* Converts the given array numeric strings to numbers.
Expand Down
2 changes: 1 addition & 1 deletion tests/Features/AggregatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use RuntimeException;
use Tests\TestCase;

final class AggregatorTest extends TestCase
class AggregatorTest extends TestCase
{
public function testWhenAggregagorIsNotBooted(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Features/AlgoliaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use App\User;
use Tests\TestCase;

final class AlgoliaTest extends TestCase
class AlgoliaTest extends TestCase
{
public $algolia;

Expand Down
2 changes: 1 addition & 1 deletion tests/Features/BuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Mockery;
use Tests\TestCase;

final class BuilderTest extends TestCase
class BuilderTest extends TestCase
{
public function testCount(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Features/FacadeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Algolia\ScoutExtended\Facades\Algolia as AlgoliaFacade;
use Tests\TestCase;

final class FacadeTest extends TestCase
class FacadeTest extends TestCase
{
public function testFacadeResolvedService(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Features/FlushCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Modules\Taxonomy\Term;
use Tests\TestCase;

final class FlushCommandTest extends TestCase
class FlushCommandTest extends TestCase
{
public function testClearsIndex(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Features/ImportCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Modules\Taxonomy\Term;
use Tests\TestCase;

final class ImportCommandTest extends TestCase
class ImportCommandTest extends TestCase
{
public function testImport(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Features/MakeAggregatorCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Illuminate\Support\Facades\Artisan;
use Tests\TestCase;

final class MakeAggregatorCommandTest extends TestCase
class MakeAggregatorCommandTest extends TestCase
{
public function setUp(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Features/OptimizeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Illuminate\Support\Facades\Artisan;
use Tests\TestCase;

final class OptimizeCommandTest extends TestCase
class OptimizeCommandTest extends TestCase
{
public function testCreationOfLocalSettings(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Features/PaginateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use App\User;
use Tests\TestCase;

final class PaginateTest extends TestCase
class PaginateTest extends TestCase
{
public function setUp(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Features/ReimportCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Mockery;
use Tests\TestCase;

final class ReimportCommandTest extends TestCase
class ReimportCommandTest extends TestCase
{
public function testReimport(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Features/SearchKeyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use App\Wall;
use Tests\TestCase;

final class SearchKeyTest extends TestCase
class SearchKeyTest extends TestCase
{
public function testWhenSearchApiDontExists(): void
{
Expand Down
Loading