forked from loafle/openapi-generator-original
		
	* Set error_reporting(E_ALL) in phpunit.xml settings, so that undefined variables will always cause a test failure * Update petstore sample for php-laravel
		
			
				
	
	
		
			23 lines
		
	
	
		
			650 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			650 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
/**
 | 
						|
 * OpenAPI Petstore
 | 
						|
 * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
 | 
						|
 *
 | 
						|
 * The version of the OpenAPI document: 1.0.0
 | 
						|
 * 
 | 
						|
 *
 | 
						|
 * NOTE: This class is auto generated by OpenAPI-Generator
 | 
						|
 * https://openapi-generator.tech
 | 
						|
 * Do not edit the class manually.
 | 
						|
 *
 | 
						|
 * Source files are located at:
 | 
						|
 *
 | 
						|
 * > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
 | 
						|
 */
 | 
						|
 | 
						|
 | 
						|
Broadcast::channel('App.User.{id}', function ($user, $id) {
 | 
						|
    return (int) $user->id === (int) $id;
 | 
						|
});
 |