mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-11-03 14:03:18 -05:00 
			
		
		
		
	* Create PHP CS Fixer config and add to CI workflow * Run php cs fixer on project * Add newline at end of file * Update to use PHP CS Fixer v3 * Run v3 config on project * Run seperate config in CI
		
			
				
	
	
		
			22 lines
		
	
	
		
			439 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			439 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Crater\Providers;
 | 
						|
 | 
						|
use Illuminate\Support\Facades\Broadcast;
 | 
						|
use Illuminate\Support\ServiceProvider;
 | 
						|
 | 
						|
class BroadcastServiceProvider extends ServiceProvider
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * Bootstrap any application services.
 | 
						|
     *
 | 
						|
     * @return void
 | 
						|
     */
 | 
						|
    public function boot()
 | 
						|
    {
 | 
						|
        Broadcast::routes();
 | 
						|
        Broadcast::routes(["middleware" => 'api.auth']);
 | 
						|
        require base_path('routes/channels.php');
 | 
						|
    }
 | 
						|
}
 |