- Fixed the attribute target method of Cronard's attribute
This commit is contained in:
		
							parent
							
								
									0a170072ba
								
							
						
					
					
						commit
						16a6e351a1
					
				@ -6,7 +6,7 @@
 | 
				
			|||||||
    "authors": [
 | 
					    "authors": [
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "Dave Mc Nicoll",
 | 
					            "name": "Dave Mc Nicoll",
 | 
				
			||||||
            "email": "mcndave@gmail.com"
 | 
					            "email": "info@mcnd.ca"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "require": {
 | 
					    "require": {
 | 
				
			||||||
 | 
				
			|||||||
@ -2,7 +2,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
namespace Notes\Cronard\Attribute\Object;
 | 
					namespace Notes\Cronard\Attribute\Object;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD)]
 | 
					#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS)]
 | 
				
			||||||
class Cronard implements \Notes\Attribute {
 | 
					class Cronard implements \Notes\Attribute {
 | 
				
			||||||
    public function __construct(
 | 
					    public function __construct(
 | 
				
			||||||
        public string $cron,
 | 
					        public string $cron,
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user