Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Yes it is tough to take criticism but beneath your observation, you should examine whether the criticism is positive or negative. Criticism is fruitful when the behaviour is changed in a positive way or it can be bad if it results in bad behaviour. Many people would say it is a good thing but other people would deny.
It is said that criticism is a form of communication. It gives you the oppurtunity to learn more because it gives you chance to improve yourself. It helps you in locating your faults and leads you to improvement. Beacuse of constructive criticism you are able to focus more on your work. More credibilty and honours would be given.
No doubt there will be countless number of people who will criticise you in destructive way which will lead you to demotivation. Many people might misuse you by commenting with thoughtless mind. Destructive criticism leads to anger, stress or even aggression.
To deal with criticism one should know how to take out the positives from from it. Reamining calm is the key to perform better. Also one should decide what he or she shoukd learn from it. This will advantage you in the most profitable manner. It is not neccesary to follow up the criticism but yes if it takes you to the right path you should definitely go for it.
Leave a Reply