File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: bow-meta-manager
22
33on :
44 push :
5- branches : [ "master " ]
5+ branches : [ "main " ]
66 pull_request :
7- branches : [ "master " ]
7+ branches : [ "main " ]
88
99permissions :
1010 contents : read
Original file line number Diff line number Diff line change 55use Bow \View \View ;
66use Tintin \Tintin ;
77use Bow \Configuration \Configuration ;
8- use Bow \Configuration \Loader as Config ;
8+ use Bow \Configuration \Loader as ApplicationConfigurationLoader ;
99
1010class MetaManagerConfiguration extends Configuration
1111{
1212 /**
1313 * @inheritDoc
1414 */
15- public function create (Config $ config ): void
15+ public function create (ApplicationConfigurationLoader $ config ): void
1616 {
1717 $ meta = (array ) $ config ['meta ' ];
1818
@@ -33,7 +33,7 @@ public function run(): void
3333 $ tintin = View::getInstance ()->getEngine ();
3434
3535 if (!$ tintin instanceof Tintin) {
36- throw new \ ErrorException ("Please use bowphp/tintin as the default view engine " );
36+ throw new MetaManagerException ("Please use bowphp/tintin as the default view engine " );
3737 }
3838
3939 $ tintin ->directive ('meta ' , function (array $ attribute = []) use ($ tintin ) {
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Bow \MetaManager ;
4+
5+ class MetaManagerException extends \Exception
6+ {
7+ }
You can’t perform that action at this time.
0 commit comments